conor 02/04/04 19:23:24
Modified: . build.xml
Log:
NetRexx and iContract tasks require JDK 1.2 methods currently
Revision Changes Path
1.283 +14 -6 jakarta-ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/build.xml,v
retrieving revision 1.282
retrieving revision 1.283
diff -u -w -u -r1.282 -r1.283
--- build.xml 4 Apr 2002 15:55:56 -0000 1.282
+++ build.xml 5 Apr 2002 03:23:24 -0000 1.283
@@ -294,9 +294,13 @@
<available property="bsf.present"
classname="com.ibm.bsf.BSFManager"
classpathref="classpath" />
- <available property="netrexx.present"
- classname="netrexx.lang.Rexx"
+ <condition property="netrexx.present">
+ <and>
+ <isset property="jdk1.2+"/>
+ <available classname="netrexx.lang.Rexx"
classpathref="classpath" />
+ </and>
+ </condition>
<available property="trax.present"
classname="javax.xml.transform.Transformer"
classpathref="classpath" />
@@ -345,9 +349,13 @@
<available property="jmf.present"
classname="javax.sound.sampled.Clip"
classpathref="classpath"/>
- <available property="icontract.present"
- classname="com.reliablesystems.iContract.IContracted"
+ <condition property="icontract.present">
+ <and>
+ <isset property="jdk1.2+"/>
+ <available classname="com.reliablesystems.iContract.IContracted"
classpathref="classpath"/>
+ </and>
+ </condition>
<available property="jdepend.present"
classname="jdepend.framework.JDepend"
classpathref="classpath"/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>