RE: Help with choosing build property file

2005-10-07 Thread Ninju Bohra
t work for me(on Windows): > > > value="${env.HOSTNAME}"/> > > > ${env.COMPUTERNAME} > > [echo] ${env.HOSTNAME} > > Cheers > > Rakesh > > > -Original Message- > From: James Abley [mailto:[EMAIL PROTECTED] > Sent: 07 Octob

RE: Help with choosing build property file

2005-10-07 Thread Burgess, Benjamin
We use this to get the machine name - works on unix and windows. Ben -Original Message- From: Rakesh Patel [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 11:56 AM To: Ant Users List Subject: RE: Help with choosing build property file On of the other links points to

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
Help with choosing build property file > -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 8:43 AM > To: Ant Users List > Subject: RE: Help with choosing build property file > > > Hi James, > > Both your lin

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
Windows 2K -Original Message- From: Shatzer, Larry [mailto:[EMAIL PROTECTED] Sent: 07 October 2005 16:51 To: 'Ant Users List' Subject: RE: Help with choosing build property file > -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Frida

RE: Help with choosing build property file

2005-10-07 Thread Shatzer, Larry
> -Original Message- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 8:43 AM > To: Ant Users List > Subject: RE: Help with choosing build property file > > > Hi James, > > Both your links point to the same resource (the firs

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
To: Ant Users List Subject: RE: Help with choosing build property file Google is your friend. http://www.google.co.uk/search?hl=en&q=ant+computername+hostname First link: http://www.ehatchersolutions.com/JavaDevWithAnt/ant.html I would expect something like this to work on Windows and Sol

RE: Help with choosing build property file

2005-10-07 Thread James Abley
--- > From: Rakesh Patel [mailto:[EMAIL PROTECTED] > Sent: Friday, October 07, 2005 9:16 AM > To: Ant Users List > Subject: RE: Help with choosing build property file > > Hi Jan, > > That looks promising. Is there a way to make it work on both windows and &g

RE: Help with choosing build property file

2005-10-07 Thread Erskine, Chris
Subject: RE: Help with choosing build property file Hi Jan, That looks promising. Is there a way to make it work on both windows and unix? I develop on windows and deploy to solaris. Thanks Rakesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 07 October

RE: Help with choosing build property file

2005-10-07 Thread Jeffrey E Care
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 07 October 2005 15:52 > To: user@ant.apache.org > Subject: AW: Help with choosing build property file > > > > > > > Because properties are immutable the more specific values in the > first file are pr

AW: Help with choosing build property file

2005-10-07 Thread Jan.Materne
You have to build something witch and ... or find a Java System property holding that value. Jan >-Ursprüngliche Nachricht- >Von: Rakesh Patel [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 7. Oktober 2005 17:16 >An: Ant Users List >Betreff: RE: Help with choosing buil

RE: Help with choosing build property file

2005-10-07 Thread Rakesh Patel
variable: Jan >-Ursprüngliche Nachricht- >Von: Rakesh Patel [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 7. Oktober 2005 16:40 >An: user@ant.apache.org >Betreff: Help with choosing build property file > >Hi, > >I would like to enhance my current Ant setup a

AW: Help with choosing build property file

2005-10-07 Thread Jan.Materne
Ursprüngliche Nachricht- >Von: Rakesh Patel [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 7. Oktober 2005 16:40 >An: user@ant.apache.org >Betreff: Help with choosing build property file > >Hi, > >I would like to enhance my current Ant setup and was looking >for ad

Help with choosing build property file

2005-10-07 Thread Rakesh Patel
Hi, I would like to enhance my current Ant setup and was looking for advice. At the moment, Ant picks up the build.properties file in the root directory and uses that: However, what I would like to do is this: 1. Ant gets the machine name/IP address of the machine it is running on. 2. Based o