RE: How to check if available java version is higher equal than a required java version?

2010-07-27 Thread Moore, Kent
...@rzf.fin-nrw.de] Sent: Tuesday, July 27, 2010 9:11 AM To: user@ant.apache.org Subject: AW: How to check if available java version is higher equal than a required java version? Check for Classes which are new in that specific JDK. Jan >-Ursprüngliche Nachricht- >Vo

AW: How to check if available java version is higher equal than a required java version?

2010-07-27 Thread Jan.Materne
Check for Classes which are new in that specific JDK. Jan >-Ursprüngliche Nachricht- >Von: Ben Stover [mailto:bxsto...@yahoo.co.uk] >Gesendet: Dienstag, 27. Juli 2010 14:35 >An: Ant Users >Betreff: How to check if available java version is higher >equ

How to check if available java version is higher equal than a required java version?

2010-07-27 Thread Ben Stover
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 bu