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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
William J. Rust, PhD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]