ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Stover" <bxsto...@yahoo.co.uk>
Subject How to check if available java version is higher equal than a required java version?
Date Tue, 27 Jul 2010 12:34:56 GMT
Assume I have a build.xml which contains some java tasks (javac, jar,...)

I would like to make sure that the Java installation which is used to compile the source code
is higher equal
than e.g. JAVA SE 1.5.03.

How can I specify this version requirement (and an appropriate error message) in a build.xml
script?

Ben






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message