ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: setting JAVA.HOME for javac with fork="true" ?
Date Tue, 24 Apr 2007 09:46:42 GMT
>If it would be possible to ' overwrite ' %JAVA_HOME% for the called
>script i don't have to edit anything.

I would not rely on any properties then. Start a new Ant instance using
<exec>.
Then you could pass a new JAVA_HOME as nested <env>.



Jan

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


Mime
View raw message