ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sbaill...@apache.org
Subject cvs commit: jakarta-ant build.xml
Date Mon, 13 Aug 2001 18:52:24 GMT
sbailliez    01/08/13 11:52:24

  Modified:    .        Tag: ANT_14_BRANCH build.xml
  Log:
  Added a xalan2 check (xalan2.present) and trax implementation check (trax.impl.present).
  It does the latest by checking for the TransformerFactory META-INF service.
  
  Not sure why Stefan needs the latest but here it is. :-)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.175.2.5 +9 -2      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.175.2.4
  retrieving revision 1.175.2.5
  diff -u -r1.175.2.4 -r1.175.2.5
  --- build.xml	2001/08/13 06:51:53	1.175.2.4
  +++ build.xml	2001/08/13 18:52:24	1.175.2.5
  @@ -106,6 +106,9 @@
       <available property="xalan.present" 
                  classname="org.apache.xalan.xslt.XSLTProcessorFactory" 
                  classpathref="classpath" />
  +    <available property="xalan2.present" 
  +               classname="org.apache.xalan.transformer.TransformerImpl" 
  +               classpathref="classpath" />
       <available property="ejb.ejbc.present" 
                  classname="weblogic.ejbc" 
                  classpathref="classpath" />
  @@ -151,6 +154,10 @@
       <available property="log4j.present"
                  classname="org.apache.log4j.Category"
                  classpathref="classpath"/>
  +    <!-- this is just a way to check for a TraX implementation -->
  +    <available property="trax.impl.present"
  +               resource="META-INF/services/javax.xml.transform.TransformerFactory"
  +               classpathref="classpath"/>
                  
       <condition property="javamail.complete">
         <and>
  @@ -702,8 +709,8 @@
             <exclude name="org/apache/tools/ant/taskdefs/optional/XslpLiaisonTest.java"
unless="xslp.present"/>
             <exclude name="org/apache/tools/ant/taskdefs/optional/XalanLiaisonTest.java"
unless="xalan.present"/>
             
  -          <!-- uncomment if you are not using Xalan2 as the TraX transformer..-->
  -          <!-- exclude name="org/apache/tools/ant/taskdefs/optional/TraXLiaisonTest.java"/-->
  +          <!-- ehm, this is not really a TraX test but rather a xalan2 test..-->
  +          <exclude name="org/apache/tools/ant/taskdefs/optional/TraXLiaisonTest.java"
unless="xalan2.present"/>
   
           </fileset>
         </batchtest>
  
  
  

Mime
View raw message