How to set the path environment variable from ant script
相关问题
- $ENV{$variable} in perl
- Using getenv function in Linux
- Meaning of headless and -D option in JAVA_OPTS
- putenv warning with C++
- How can I have my ant task pass or fail based on t
相关文章
- How should I configure log4net to write to %LOCALA
- Override env values defined in container spec
- Unable to see or modify value of PYTHONHASHSEED th
- Android set(get) environmental variables in Java
- Passing command line arguments to Java via ant bui
- ANT - Could not load a dependent class com/jcraft/
- Expand environment variables in Qt (getenv equival
- Detect if python script is run from console or by
In ant, properties are immutable, so David's suggestion above:
won't work.
But (with the antcontrib-library) variables are mutable, so this works:
NOTE: to use the antcontrib-library download it from here: ANT Contrib - Download
This gets the job done, but seems like a dastardly trick.
So to your specific question, try: