ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Couvreur" <jcouvr...@redcart.com>
Subject Controling the environment for exec tasks
Date Fri, 14 Jul 2000 21:30:07 GMT

Hi,

Somebody posted a message saying what he greatly enjoyed with Ant was the
possibility of not depending on the system environment (ie CLASSPATH
especially).

You may want to call third-party scripts from ant, and these may (and often)
need to run in a special environment. So it would be nice if exec could
specify env variables for the program that we exec.

Unfortunately, maybe Java doesn't support changing environment variables (it
only allows reading, via System.getXxx()). Would there still be a way of
doing this env variable setting ?


Julien Couvreur
RedCart, Enabling Digital Marketplaces.
http://www.redcart.com


Mime
View raw message