You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@apache.org on 2003/01/16 20:23:28 UTC
cvs commit: jakarta-commons/modeler build.xml
costin 2003/01/16 11:23:28
Modified: modeler build.xml
Log:
Added dist-lite ( dist without javadoc - similar with ant )
Conditional compile for ant16 features.
Revision Changes Path
1.8 +12 -5 jakarta-commons/modeler/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/modeler/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.xml 7 Jan 2003 21:07:40 -0000 1.7
+++ build.xml 16 Jan 2003 19:23:28 -0000 1.8
@@ -158,13 +158,15 @@
<target name="compile-only" >
+ <available property="ant16.available" classname="org.apache.tools.ant.PropertyHelper" />
+
<javac srcdir="${source.home}"
destdir="${build.home}/classes"
debug="${compile.debug}"
deprecation="${compile.deprecation}"
- optimize="${compile.optimize}"
- excludes="org/apache/commons/workflow/demo/**">
+ optimize="${compile.optimize}">
<classpath refid="compile.classpath"/>
+ <exclude name="org/apache/commons/modeler/ant/*PropertyHelper.java" unless="ant16.available" />
</javac>
<copy todir="${build.home}/classes" filtering="on">
<fileset dir="${source.home}"
@@ -181,6 +183,12 @@
<delete dir="${dist.home}"/>
</target>
+ <target name="init-dist" >
+ <mkdir dir="${dist.home}"/>
+ </target>
+
+ <target name="dist-lite" depends="init-dist,compile,jar"
+ description="Dist without javadoc" />
<target name="all" depends="clean,compile"
description="Clean and compile all components"/>
@@ -212,9 +220,8 @@
</jar>
</target>
- <target name="dist" depends="compile,javadoc,jar"
+ <target name="dist" depends="dist-lite,javadoc"
description="Create binary distribution">
- <mkdir dir="${dist.home}"/>
<copy file="../LICENSE"
todir="${dist.home}"/>
<copy file="RELEASE-NOTES.txt"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>