aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorpaulby <[email protected]>2005-01-27 17:56:53 +0000
committerpaulby <[email protected]>2005-01-27 17:56:53 +0000
commit9a1eb407b78da86ea3d32acabbefe16c93b849f7 (patch)
tree458ad466525d5670dd3cc7d411a2b1dbd6e3e413 /build.xml
parent54321c6d39e6cef2ecffa72e3aa54a0820af6c96 (diff)
Added release target
Issue number: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@110 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 87a24af..d4f0439 100644
--- a/build.xml
+++ b/build.xml
@@ -410,6 +410,21 @@
file="${build}/${platform}/rpm/RPMS/i586/java3d-${version_rpm}-1.i586.rpm"
tofile="dist/${platform}/java3d-${version_file}-1-i586.rpm"/>
</target>
+
+ <target name="release" description="Package distribution for release" depends="dist">
+ <mkdir dir="${dist}/release"/>
+ <zip destfile="${dist}/release/java3d-${version_file}-${platform}.zip">
+ <fileset dir="${dist}/${platform}"
+ includes="lib/**"
+ />
+ <fileset dir="release-info"
+ includes="BINARY-CODE-LICENSE.txt"
+ />
+ <fileset dir="."
+ includes="COPYRIGHT.txt README-FIRST.txt"
+ />
+ </zip>
+ </target>
<target name="clean-dist">
<!-- Delete the ${dist} directory tree -->