aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorDavid Schweinsberg <[email protected]>2004-12-15 14:04:01 +0000
committerDavid Schweinsberg <[email protected]>2004-12-15 14:04:01 +0000
commite74ec43b2f32b054baa797ca4b17d98b1d66d44f (patch)
tree913c5933debe69df81b0b87a51a1917cef8d8a95 /build.xml
parent2a845f68890d329fd8633f7bd824408e625bedd0 (diff)
Added a dist-bin target to the build, so we could get the first binary build ready
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 9e27c9a..cf18792 100644
--- a/build.xml
+++ b/build.xml
@@ -66,4 +66,28 @@
nbproject/build-impl.xml file.
-->
+
+ <!-- This is a quick hack to build a compressed distribution file -->
+ <target name="dist-bin" depends="compile">
+ <property file="src/net/java/dev/typecast/apps/editor/Main.properties"/>
+ <property name="zip.dir" value="typecast-${Typecast.version}"/>
+ <property name="zip.filename" value="typecast-bin-${Typecast.version}"/>
+
+ <copy todir="${zip.dir}">
+ <fileset dir="${dist.dir}">
+ <include name="typecast.jar"/>
+ </fileset>
+ <fileset dir=".">
+ <include name="typecast.bat"/>
+ <include name="README.txt"/>
+ <include name="LICENSE.txt"/>
+ </fileset>
+ </copy>
+ <copy todir="${zip.dir}/lib">
+ <fileset dir="lib">
+ <include name="jlfgr-1_0.jar"/>
+ </fileset>
+ </copy>
+ <zip destfile="${zip.filename}.zip" basedir="${zip.dir}" includes="**"/>
+ </target>
</project>