ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Using 2 versions of JAVA_HOME through one build script
Date Thu, 26 Jan 2006 05:01:50 GMT
On Wed, 25 Jan 2006, Srikrishna Parthasarathy
<> wrote:

> I have the following build.xml file for doing the build. I need to
> switch my java_home every time to do two versions of weblogic
> builds.  Instead of setting through system control panel JAVA_HOME ,
> I want to set it through ant script.

I'm afraid you can't, unless the tasks you use support setting it in
some way.  The only way I'd see is using <exec> (which allows
re-setting environment variables) instead of the custom tasks.


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

View raw message