blob: 7cc3c983efe6c5aa8ee827ae7d00aeaada0b9600 [file] [log] [blame]
Index: build.xml
===================================================================
--- build.xml (revision 498103)
+++ build.xml (working copy)
@@ -175,23 +175,26 @@
</javadoc>
</target>
+ <target name="jar" depends="compile"
+ description="Create the jar file">
+ <mkdir dir="${build.home}/classes/META-INF"/>
+ <copy file="LICENSE.txt"
+ tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
+ <copy file="NOTICE.txt"
+ tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
+ <mkdir dir="${dist.home}"/>
+ <jar jarfile="${dist.home}/${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">
<!-- TODO: top level files like LICENSE and README -->
- <mkdir dir="${dist.home}"/>
<copy file="LICENSE.txt"
todir="${dist.home}"/>
<copy file="NOTICE.txt"
todir="${dist.home}"/>
- <mkdir dir="${build.home}/classes/META-INF"/>
- <copy file="LICENSE.txt"
- tofile="${build.home}/classes/META-INF/LICENSE.txt"/>
- <copy file="NOTICE.txt"
- tofile="${build.home}/classes/META-INF/NOTICE.txt"/>
- <jar jarfile="${dist.home}/${component.name}.jar"
- basedir="${build.home}/classes"
- manifest="${build.home}/conf/MANIFEST.MF"/>
</target>
<!-- ========== Testing section ======================================== -->