ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: using system environment variable within ANT?
Date Wed, 06 Sep 2000 00:44:02 GMT
At 11:16  5/9/00 -0500, you wrote:
>Sorry if this has been asked and answered but I'm new to Ant and have not
>been able to find the email archives for this list.
>I would like to set the build.compiler properties based on what compiler
>is installed (ie; use jikes if jikes is installed).
>I have a build.cmd file that sets the environment variable ANT_COMPILER to
>jikes if the jikes compiler is installed. I set build.compiler to
>${ant_compiler} I get an error from ant that it does not know how to use
>${ant_compiler} so it is obviously not expanding my tag... how can I get
>this to work?

It is case sensitive - try ${ANT_COMPILER}



| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |

View raw message