ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William J. Rust" <...@ksu.edu>
Subject Re: setting the system path in ant
Date Wed, 04 Oct 2006 19:53:24 GMT
Actually, that's all I need to do. What I am doing is running a <java> 
with fork="true". But, I don't see any way to change the path for the 
jvm. Do forked things use the local copy of the environment, and any 
changes you've made to it, or does it go back to the system?

wjr

Dominique Devienne wrote:
> On 10/4/06, William J. Rust <wjr@ksu.edu> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


-- 
William J. Rust, PhD


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


Mime
View raw message