>>>>> "EdH" == Ernst de Haan <[EMAIL PROTECTED]> writes:

 EdH> The code can be made conditional so it will only execute on 1.2+
 EdH> systems.

But Ant not only wants to run on JDK 1.1, we also want to be able to
compile it there - therefore, you have to use reflection.

 EdH> I suggest the JDK 1.2+ checking is done in a central place, like
 EdH> Project.

See Project.getJavaVersion().

Stefan

Reply via email to