ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <>
Subject Re: multiple builds
Date Wed, 15 Aug 2001 19:12:01 GMT
Off hand, I would suggest having separate env vars for each JDK.
Then have the jdk to use as a parameter in your compilation target.

Now create a new target to call compile multiple times, but passing a
different env var (for the respective jdk's).
Not sure if that would work or if you have tried that.  If that is possible,
preferable to .cmd files?

Btw, do you use weblogic 6.0 ?  Any problems to look out for?

T Master

----- Original Message -----
From: "David Scassa" <>
To: <>
Sent: Wednesday, August 15, 2001 12:41 PM
Subject: RE: multiple builds

> What about building the same code with several JDK's, say one build for
> Websphere and one for Weblogic?
> I have been able to merge most of my "common" xml scripts by implementing
> platform var, but that doesn't take care of switching the JAVA_HOME var
> is necessary. (from within ANT) I'm working around it by using .cmd
> that reset the JAVA_HOME var, but it's ugly.
> David

View raw message