cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@locus.apache.org
Subject cvs commit: xml-cocoon build.xml
Date Wed, 14 Jun 2000 02:04:34 GMT
rubys       00/06/13 19:04:34

  Modified:    .        Tag: xml-cocoon2 build.xml
  Log:
  Don't compile optional subsystems if pre-requisites are not present.
  
  Min = JDK + Ant + Xerces + Xalan + Stylebook
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.12  +27 -1     xml-cocoon/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/build.xml,v
  retrieving revision 1.6.2.11
  retrieving revision 1.6.2.12
  diff -u -r1.6.2.11 -r1.6.2.12
  --- build.xml	2000/06/13 18:46:00	1.6.2.11
  +++ build.xml	2000/06/14 02:04:33	1.6.2.12
  @@ -123,6 +123,25 @@
       <filter token="date"    value="${TODAY}"/>
       <filter token="log"     value="true"/>
       <filter token="verbose" value="true"/>
  + 
  +    <available property="php.present" 
  +               classname="net.php.servlet" />
  +
  +    <available property="servlet.present" 
  +               classname="javax.servlet.http.HttpServlet" />
  +
  +    <available property="svg.present" 
  +               classname="org.csiro.svgv.display.SvgToAwtConverter" />
  +
  +    <available property="rhino.present" 
  +               classname="org.mozilla.javascript.tools.jsc.Main" />
  +
  +    <available property="jstyle.present" 
  +               classname="jstyle.JSFormatter" />
  +
  +    <available property="fop.present" 
  +               classname="org.apache.fop.apps.Driver" />
  +
     </target>
   
     <!-- =================================================================== -->
  @@ -177,7 +196,14 @@
              destdir="${build.dest}"
              debug="${debug}"
              optimize="${optimize}"
  -           deprecation="${deprecation}"/>
  +           deprecation="${deprecation}">
  +      <exclude name="**/CocoonServlet*.java" unless="servlet.present" />
  +      <exclude name="**/SVGSerializer.java" unless="svg.present" />
  +      <exclude name="**/Javascript*" unless="rhino.present" />
  +      <exclude name="**/Jstyle*" unless="jstyle.present" />
  +      <exclude name="**/FO2*" unless="fop.present" />
  +      <exclude name="**/Php*" unless="php.present" />
  +    </javac>
     </target>
   
     <!-- =================================================================== -->
  
  
  

Mime
View raw message