On Wed, 25 Jan 2006, Srikrishna Parthasarathy
<[EMAIL PROTECTED]> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to