There is a java.version property. Maybe you can use that instead of
checking the PATH.

-----Original Message-----
From: Scott Simpson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 06, 2005 6:42 PM
To: user@ant.apache.org
Subject: Want to build under multiple JDKs


We have some Java code that I want to build under multiple JDKs in Ant. 
I have both JDK 1.3 and JDK 1.4 installed and I need to build certain 
code under each version of the JDK. Any suggestions? I was thinking I 
might have to create a custom task to look down the PATH and find the 
latest version of the 1.3 or 1.4 on it and return it.



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

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

Reply via email to