bodewig 02/05/22 01:37:22
Modified: . Tag: ANT_15_BRANCH build.xml
Log:
Change swing.present test to short-circuit for JDK 1.2+. Enables
headless bootstrap on MacOS X.
Revision Changes Path
No revision
No revision
1.304.2.7 +7 -3 jakarta-ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/build.xml,v
retrieving revision 1.304.2.6
retrieving revision 1.304.2.7
diff -u -r1.304.2.6 -r1.304.2.7
--- build.xml 20 May 2002 13:51:03 -0000 1.304.2.6
+++ build.xml 22 May 2002 08:37:21 -0000 1.304.2.7
@@ -465,9 +465,13 @@
</and>
</condition>
- <available property="swing.present"
- classname="javax.swing.ImageIcon"
- classpathref="classpath"/>
+ <condition property="swing.present">
+ <or>
+ <isset property="jdk1.2+" />
+ <available classname="javax.swing.ImageIcon"
+ classpathref="classpath"/>
+ </or>
+ </condition>
<condition property="wsdl.found">
<or>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>