Author: jkaputin
Date: Mon Oct 2 17:33:51 2006
New Revision: 452285
URL: http://svn.apache.org/viewvc?view=rev&rev=452285
Log:
Added tar.gz and tar.bz2 source archives and checksums.
Modified:
incubator/woden/branches/M6/build.xml
Modified: incubator/woden/branches/M6/build.xml
URL:
http://svn.apache.org/viewvc/incubator/woden/branches/M6/build.xml?view=diff&rev=452285&r1=452284&r2=452285
==============================================================================
--- incubator/woden/branches/M6/build.xml (original)
+++ incubator/woden/branches/M6/build.xml Mon Oct 2 17:33:51 2006
@@ -496,6 +496,7 @@
<antcall target="createZip" />
<antcall target="createTarGzBz2" />
<antcall target="createSrcZip"/>
+ <antcall target="createSrcTarGzBz2" />
</target>
<!-- Builds a zip of the distributable dir -->
@@ -517,7 +518,7 @@
<delete file="${build.output}/${archive.name}-${buildId}.tar" />
</target>
- <!-- Builds a zip of the distributable dir -->
+ <!-- Builds a zip of the source code -->
<!-- This target is not meant to be called on its own -->
<target name="createSrcZip" depends="init">
<zip
destfile="${build.output}/${archive.name}-${buildId}-src.zip">
@@ -529,12 +530,37 @@
<include name="LICENSE*"/>
<include name="NOTICE"/>
<include name="README"/>
- <include name="build.*"/>
+ <include name="build.properties"/>
+ <include name="build.xml"/>
+ <include name="pom.xml"/>
<include name="release-notes.html"/>
</zipfileset>
</zip>
</target>
+ <!-- Builds a tar.gz and tar.bz2 of the source code -->
+ <!-- This target is not meant to be called on its own -->
+ <target name="createSrcTarGzBz2" depends="init">
+ <tar
destfile="${build.output}/${archive.name}-${buildId}-src.tar">
+ <tarfileset dir="${build.home}/src"
prefix="${archive.root.prefix}-${buildId}/src"/>
+ <tarfileset dir="${build.home}/test"
prefix="${archive.root.prefix}-${buildId}/test"/>
+ <tarfileset dir="${build.home}/ant-test"
prefix="${archive.root.prefix}-${buildId}/ant-test"/>
+ <tarfileset dir="${build.home}/eclipseplugin"
prefix="${archive.root.prefix}-${buildId}/eclipseplugin"/>
+ <tarfileset dir="${build.home}"
prefix="${archive.root.prefix}-${buildId}">
+ <include name="LICENSE*"/>
+ <include name="NOTICE"/>
+ <include name="README"/>
+ <include name="build.properties"/>
+ <include name="build.xml"/>
+ <include name="pom.xml"/>
+ <include name="release-notes.html"/>
+ </tarfileset>
+ </tar>
+ <gzip
destfile="${build.output}/${archive.name}-${buildId}-src.tar.gz"
src="${build.output}/${archive.name}-${buildId}-src.tar" />
+ <bzip2
destfile="${build.output}/${archive.name}-${buildId}-src.tar.bz2"
src="${build.output}/${archive.name}-${buildId}-src.tar" />
+ <delete
file="${build.output}/${archive.name}-${buildId}-src.tar" />
+ </target>
+
<!-- Create checksums for the zip and tar.gz files -->
<target name="createChecksums">
<checksum file="${build.output}/${archive.name}-${buildId}.zip"
/>
@@ -545,6 +571,10 @@
<checksum
file="${build.output}/${archive.name}-${buildId}.tar.bz2" algorithm="SHA"
fileext=".sha1" />
<checksum
file="${build.output}/${archive.name}-${buildId}-src.zip" />
<checksum
file="${build.output}/${archive.name}-${buildId}-src.zip" algorithm="SHA"
fileext=".sha1" />
+ <checksum
file="${build.output}/${archive.name}-${buildId}-src.tar.gz" />
+ <checksum
file="${build.output}/${archive.name}-${buildId}-src.tar.gz" algorithm="SHA"
fileext=".sha1" />
+ <checksum
file="${build.output}/${archive.name}-${buildId}-src.tar.bz2" />
+ <checksum
file="${build.output}/${archive.name}-${buildId}-src.tar.bz2" algorithm="SHA"
fileext=".sha1" />
</target>
<!-- A clean target to be run before builds. -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]