Hello, guys! I remember threads on this but don't remember the conclusion (if it was made). To support JDBC-3.0 code, I have to decide whether to compile sources depending on the JDK version. For now I solve it this way <target name="set-java-version"> <condition property="jdk1.4"> <equals arg1="${ant.java.version}" arg2="1.4"/> </condition> </target> <target name="compile-for-1.4" if="jdk1.4" depends="set-java-version"> ... </target>
I consider it rough. Especially when the sources are processed by XDoclet. Do someone know/use a better way? alex ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development