you´re welcome
re-checked?
Jan
-Ursprüngliche Nachricht-
Von: Markus Innerebner [mailto:[EMAIL PROTECTED]
Gesendet am: Mittwoch, 9. März 2005 17:32
An: Ant Users List
Betreff: Re: AW: how to read an environment var in a property file
Hi Jan
thanks for your quick answer
[EMAIL
Hi Jan
thanks for your quick answer
[EMAIL PROTECTED] wrote:
You have to read the ENV before the prop file:
build.properties:
-
test=${ENV.KEY}-Text
${test}
test
C:\TEMP\xx>set KEY=Hello
C:\TEMP\xx>ant
Buildfile: build.xml
[echo] Hello-Text
BUILD SUCCESSFUL
Jan
You have to read the ENV before the prop file:
build.properties:
-
test=${ENV.KEY}-Text
build.xml
-
${test}
test
C:\TEMP\xx>set KEY=Hello
C:\TEMP\xx>ant
Buildfile: build.xml
[echo] Hello-Text
BUILD SUCCESSFUL
Jan
-Ursprüngliche Nachricht--