ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant build.xml
Date Wed, 22 May 2002 08:37:22 GMT
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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message