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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
a
> platform var, but that doesn't take care of switching the JAVA_HOME var
that
> is necessary. (from within ANT) I'm working around it by using .cmd
scripts
> that reset the JAVA_HOME var, but it's ugly.
>
> David


Reply via email to