diff options
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 |