aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 9bcdb2c..8f662af 100644
--- a/build.xml
+++ b/build.xml
@@ -54,6 +54,7 @@
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<property name="output.jar" location="dist/j3d-examples.jar"/>
+ <property name="output.zip" location="dist/j3d-examples-src.zip"/>
</target>
<target name="compile" depends="init">
@@ -97,7 +98,20 @@
</jar>
</target>
- <target name="all" depends="init,jar">
+ <target name="zip" depends="init">
+ <mkdir dir="${dist}"/>
+ <zip destfile="${output.zip}">
+ <fileset dir="." includes="src/**"/>
+ <fileset dir="." includes="COPYRIGHT.txt"/>
+ <fileset dir="." includes="README*.*"/>
+ <fileset dir="." includes="*LICENSE*.*"/>
+ <fileset dir="." includes="build.xml"/>
+ <fileset dir="." includes="manifest.mf"/>
+ <fileset dir="." includes="nbproject/**" excludes="nbproject/private/**"/>
+ </zip>
+ </target>
+
+ <target name="all" depends="init,jar,zip">
</target>
<target name="clean" depends="init">