Author: bayard
Date: Wed Jul 18 14:37:11 2007
New Revision: 557404
URL: http://svn.apache.org/viewvc?view=rev&rev=557404
Log:
Applying Petteri Ra:ty's build.xml improvement from DIGESTER-89 so you can
build the jar without the javadoc. I did modify it so you are forced to run the
tests when building the jar
Modified:
jakarta/commons/proper/digester/trunk/build.xml
Modified: jakarta/commons/proper/digester/trunk/build.xml
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/digester/trunk/build.xml?view=diff&rev=557404&r1=557403&r2=557404
==============================================================================
--- jakarta/commons/proper/digester/trunk/build.xml (original)
+++ jakarta/commons/proper/digester/trunk/build.xml Wed Jul 18 14:37:11 2007
@@ -256,20 +256,22 @@
</javadoc>
</target>
+ <target name="jar" depends="compile, test"
+ description="Create commons-digester.jar">
+ <mkdir dir="${dist.home}"/>
+ <jar jarfile="${dist.home}/commons-${component.name}.jar"
+ basedir="${build.home}/classes"
+ manifest="${build.home}/conf/MANIFEST.MF"/>
+ </target>
- <target name="dist" depends="compile,javadoc"
+ <target name="dist" depends="jar,javadoc"
description="Create binary distribution">
- <mkdir dir="${dist.home}"/>
<copy file="LICENSE.txt"
todir="${dist.home}"/>
- <mkdir dir="${build.home}/classes/META-INF"/>
<copy file="RELEASE-NOTES.txt"
todir="${dist.home}"/>
<copy file="NOTICE.txt"
todir="${dist.home}"/>
- <jar jarfile="${dist.home}/commons-${component.name}.jar"
- basedir="${build.home}/classes"
- manifest="${build.home}/conf/MANIFEST.MF"/>
</target>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]