You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2004/03/08 02:56:59 UTC
cvs commit: cocoon-2.1/tools/targets init-build.xml
antonio 2004/03/07 17:56:59
Modified: tools/targets init-build.xml
Log:
Adding support for JSDK 1.5
Revision Changes Path
1.9 +7 -1 cocoon-2.1/tools/targets/init-build.xml
Index: init-build.xml
===================================================================
RCS file: /home/cvs//cocoon-2.1/tools/targets/init-build.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- init-build.xml 22 Feb 2004 21:09:24 -0000 1.8
+++ init-build.xml 8 Mar 2004 01:56:59 -0000 1.9
@@ -14,12 +14,18 @@
<property file="src/java/org/apache/cocoon/cocoon.properties"/>
<!-- Detecting the current jvm -->
+ <condition property="target.vm" value="1.5">
+ <equals arg1="1.5" arg2="${ant.java.version}"/>
+ </condition>
<condition property="target.vm" value="1.4">
<equals arg1="1.4" arg2="${ant.java.version}"/>
</condition>
<condition property="target.vm" value="1.3">
<not>
- <equals arg1="1.4" arg2="${ant.java.version}"/>
+ <or>
+ <equals arg1="1.4" arg2="${ant.java.version}"/>
+ <equals arg1="1.5" arg2="${ant.java.version}"/>
+ </or>
</not>
</condition>