commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka build.xml
Date Tue, 09 Jul 2002 03:00:50 GMT
dion        2002/07/08 20:00:50

  Modified:    latka    build.xml
  Log:
  Made jelly compilation optional
  
  Revision  Changes    Path
  1.37      +11 -2     jakarta-commons/latka/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/build.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- build.xml	29 Jun 2002 01:31:11 -0000	1.36
  +++ build.xml	9 Jul 2002 03:00:50 -0000	1.37
  @@ -110,6 +110,11 @@
               <!-- We need a jaxen with JDOM support -->
               <classpath refid="classpath"/>
           </available>
  +        
  +        <available property="jelly.present"
  +            classname="org.apache.commons.jelly.Jelly">
  +            <classpath refid="classpath"/>
  +        </available>
           <echo message="-------- ${component.name} ${component.version} --------"/>
   
       </target>
  @@ -292,6 +297,8 @@
                  deprecation="true"
                  optimize="true">
               <exclude name="**/XPath*.java" unless="jaxen.present"/>
  +            <exclude name="**/jelly/**" unless="jelly.present"/>
  +            <exclude name="**/servlet/*.java"/>
           </javac>
           <copy todir="${dest.classes}">
               <fileset dir="${resource}"/>
  @@ -305,7 +312,9 @@
                  classpathref="classpath"
                  debug="false"
                  deprecation="true"
  -               optimize="true"/>
  +               optimize="true">
  +            <exclude name="**/jelly/**" unless="jelly.present"/>
  +        </javac>
       </target>
   
       <!-- ######################################################### -->
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message