cziegeler    01/11/26 00:56:31

  Modified:    .        Tag: cocoon_20_branch build.xml
  Log:
  Fixed target dependencies - sync with 2.1
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.68  +8 -8      xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.8.2.67
  retrieving revision 1.8.2.68
  diff -u -r1.8.2.67 -r1.8.2.68
  --- build.xml 2001/11/26 08:29:04     1.8.2.67
  +++ build.xml 2001/11/26 08:56:30     1.8.2.68
  @@ -216,7 +216,7 @@
     <!-- =================================================================== -->
     <!-- Test for optional components                                        -->
     <!-- =================================================================== -->
  -  <target name="optional-tests" 
  +  <target name="optional-tests" depends="init"
             description="Tests for optional classes missing to the environment">
     
       <available property="servlet.present" 
  @@ -310,7 +310,7 @@
     <!-- =================================================================== -->
     <!-- Warnings                                                            -->
     <!-- =================================================================== -->
  -  <target name="xt-warn" unless="xt.present" 
  +  <target name="xt-warn" unless="xt.present" depends="optional-tests"
         description="Outputs a warning if com.jclark.xsl.* classes are missing during 
compilation">
       <antcall target="op-warning">
         <param name="thing" value="XT"/>
  @@ -320,7 +320,7 @@
                value="XT is required for the xt transformer."/>
       </antcall>
     </target>  
  -  <target name="php-warn" unless="php.present" 
  +  <target name="php-warn" unless="php.present" depends="optional-tests"
         description="Outputs a warning if net.php.* classes are missing during 
compilation">
       <antcall target="op-warning">
         <param name="thing" value="Php"/>
  @@ -330,7 +330,7 @@
                value="Php is required for the php generator."/>
       </antcall>
     </target>  
  -  <target name="naming-warn" unless="naming.present" 
  +  <target name="naming-warn" unless="naming.present" depends="optional-tests"
         description="Outputs a warning if javax.naming.* classes are missing during 
compilation">
       <antcall target="op-warning">
         <param name="thing" value="JDNI"/>
  @@ -340,7 +340,7 @@
                value="JNDI is required for the ldap generator and the parentcm 
generator."/>
       </antcall>
     </target>  
  -  <target name="svg-warn" unless="svg.present" 
  +  <target name="svg-warn" unless="svg.present" depends="optional-tests" 
         description="Outputs a warning if org.apache.batik.* classes are missing 
during compilation">
       <antcall target="op-warning">
         <param name="thing" value="Batik"/>
  @@ -350,7 +350,7 @@
                value="Batik is required for the svg serializers."/>
       </antcall>
     </target>  
  -  <target name="fop-warn" unless="fop.present" 
  +  <target name="fop-warn" unless="fop.present" depends="optional-tests"
         description="Outputs a warning if org.apache.fop.* classes are missing during 
compilation">
       <antcall target="op-warning">
         <param name="thing" value="FOP"/>
  @@ -360,7 +360,7 @@
                value="FOP is required for the fo2pdf, fo2ps and fo2pcl serializer."/>
       </antcall>
     </target>  
  -  <target name="tidy-warn" unless="tidy.present" 
  +  <target name="tidy-warn" unless="tidy.present" depends="optional-tests" 
         description="Outputs a warning if org.w3c.tidy.* classes are missing during 
compilation">
       <antcall target="op-warning">
         <param name="thing" value="JTidy"/>
  @@ -370,7 +370,7 @@
                value="JTidy is required for the html generator."/>
       </antcall>
     </target>  
  -  <target name="maybeupload-warn" unless="maybeupload.present" 
  +  <target name="maybeupload-warn" unless="maybeupload.present" 
depends="optional-tests"
         description="Outputs a warning if uk.co.weft.maybeupload.* classes are 
missing during compilation">
       <antcall target="op-warning">
         <param name="thing" value="MaybeUpload"/>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to