bloritsch 2003/03/10 06:54:32
Modified: instrument build.xml
Log:
make instrument's distribution just like everything else
Revision Changes Path
1.50 +16 -22 avalon-excalibur/instrument/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/avalon-excalibur/instrument/build.xml,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- build.xml 6 Mar 2003 14:56:05 -0000 1.49
+++ build.xml 10 Mar 2003 14:54:32 -0000 1.50
@@ -278,23 +278,6 @@
</target>
- <!-- Creates the distribution -->
- <target name="dist-bin">
- <zip zipfile="${dist.base}/${dist.name}-bin.zip" compress="true">
- <zipfileset dir="${dist.dir}" prefix="${dist.name}"/>
- </zip>
-
- </target>
-
- <target name="dist-src">
- <zip zipfile="${dist.base}/${dist.name}-src.zip" compress="true">
- <zipfileset dir="${dist.dir}" prefix="${dist.name}"/>
- <zipfileset dir="${basedir}" prefix="${dist.name}"
includes="*.xml,*.properties"/>
- <zipfileset dir="${src.dir}" prefix="${dist.name}/src"/>
- </zip>
-
- </target>
-
<target name="prepare-dist"
depends="test-reports, checkstyle-report, site">
@@ -305,14 +288,25 @@
<mkdir dir="${dist.base}"/>
</target>
+ <!-- Creates the distribution -->
<target name="dist"
- depends="prepare-dist, dist-src, dist-jar, dist-bin"
- description="Generates a distribution (jar + docs + javadocs + unit tests +
checkstyle reports)">
+ depends="dist-jar, test-reports, checkstyle-report, site"
+ description="Generates a distribution (jar + docs javadocs + unit tests +
checkstyle reports)">
+
+ <copy file="${build.conf}/LICENSE.txt" todir="${dist.dir}"/>
+ <copy file="../KEYS" todir="${dist.dir}"/>
- <checksum fileext=".md5">
- <fileset dir="${dist.base}" />
- </checksum>
+ <zip zipfile="${dist.dir}/src.zip" compress="false">
+ <zipfileset dir="src/java"/>
+ </zip>
+
+ <mkdir dir="${dist.base}"/>
+ <zip zipfile="${dist.base}/${dist.name}.zip" compress="true">
+ <zipfileset dir="${dist.dir}" prefix="${dist.name}"/>
+ </zip>
+
+ <checksum file="${dist.base}/${dist.name}.zip" fileext=".md5"/>
</target>
<!-- Creates a mini jar-only distribution -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]