diff options
author | Holger Zickner <[email protected]> | 2004-10-31 19:43:50 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-10-31 19:43:50 +0000 |
commit | 9a8ece3ec383aa080addd74e823a577e22be9545 (patch) | |
tree | ccefcef0bc78ebc8b6c44501b93ae2f40d4ecb97 /build.xml | |
parent | 267b3ebef244d674572c2e8501838cdfba91f2fd (diff) |
include joal patch for webstart version
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -14,6 +14,7 @@ <!-- properties --> <property name="version" value="cvs"/> <property name="src" location="src"/> + <property name="patch" location="patch"/> <property name="test" location="test"/> <property name="build" location="build"/> <property name="dist" location="dist"/> @@ -113,7 +114,9 @@ <!-- jar --> <target name="jar" depends="compile,copyres"> <jar destfile="jake2.jar" basedir="${build}"> - <include name="**"/> + <include name="jake2/**"/> + <include name="*.png"/> + <include name="mirrors"/> </jar> <proguard printseeds="on" printusage="off" outjar="${dist}/lib/jake2.jar" defaultpackage="" overloadaggressively="off" printmapping="jake2.map"> @@ -200,12 +203,15 @@ </target> <!-- webstart --> - <target name="webstart" depends="dist"> + <target name="webstart" depends="dist,patch"> <mkdir dir="webstart/lib"/> <copy todir="webstart/lib"> <fileset dir="${dist}/lib"> <include name="**/*.jar"/> </fileset> + <fileset dir="."> + <include name="patch.jar"/> + </fileset> </copy> <jar destfile="webstart/lib/linux/jogl-native.jar" basedir="${dist}/lib/linux"> <include name="libjogl*.so"/> @@ -246,4 +252,16 @@ </fileset> </delete> </target> + + <!-- patch --> + <target name="patch"> + <javac destdir="${build}" optimize="on" debug="off" source="1.4"> + <src path="${patch}"/> + <include name="**"/> + <classpath refid="build.class.path"/> + </javac> + <jar destfile="patch.jar" basedir="${build}"> + <include name="net/**"/> + </jar> + </target> </project>
\ No newline at end of file |