On Wed, 27 Feb 2002, Ken Kachnowich <[EMAIL PROTECTED]> wrote:

> I want to be able to add some code that makes use of new 1.4
> features and compile with 1.4 for the 1.4 systems.

Take a look at Ant's own build file.

It defines properties jdk1.2+, jdk1.3+ and jdk1.4+ using <available>
looking for classes that have been added in these JDKs respectively.

In <javac> you'll find 

<exclude name="class/that/requires/1/4/jdk.java" unless="jdk1.4+" />

Stefan

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

Reply via email to