Hello Raja,

some ant scripts need access to environment variables but a lot of them do not. So this leaves it to each build file developer to decide whether he wants his ant property environment to include properties.

Now you can create easily a standard build file that you import everywhere and containing the line <property environment="env"/>.

You may end up with other "boilerplate" declarations that you want in all your build files.

Regards,

Antoine

Raja Nagendra Kumar wrote:
Sure joe, now I understand why we need to give a prefix. Joe, I was looking
for why ant did not ant make all the environment variables available through
some documented prefix notation rather by default rather than user adding
this line in each build script.

<property environment="env"/>

Regards,
Nagendra



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to