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
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
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
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
> -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
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
---
> 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
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
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
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
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
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
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
13 matches
Mail list logo