ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <>
Subject Re: setting the system path in ant
Date Wed, 04 Oct 2006 18:46:55 GMT
On 10/4/06, William J. Rust <> wrote:
> I'm very new at ant and I've written an ant build script to run and
> download LeJOS (Java for Lego Mindstorms RCX robots) under netbeans.
> Currently, I can zip up a file and have new users simply install
> netbeans and then unzip this file and they can compile and download with
> doing anything else, *except* for changing the system path to include
> the lejos/bin directory. Is there some way to set the environment
> variable "path" from with an ant script?

No. You can change the system path of sub-processes (<java
fork="true"> or <exec>), but not of either the Java process running
Ant, or its Shell parent for example. --DD

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message