On Wed, 27 Feb 2002, Ken Kachnowich <khkachn@madweed.ncsc.mil> 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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|