aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml22
-rw-r--r--webstart/jake2.jnlp2
-rw-r--r--webstart/jake2_jogl11.jnlp2
-rw-r--r--webstart/jake2_jogl11ATI.jnlp2
4 files changed, 26 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 71306e7..36583bb 100644
--- a/build.xml
+++ b/build.xml
@@ -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
diff --git a/webstart/jake2.jnlp b/webstart/jake2.jnlp
index 8bc7c6b..b3cb625 100644
--- a/webstart/jake2.jnlp
+++ b/webstart/jake2.jnlp
@@ -25,7 +25,9 @@
<resources os="Linux">
<j2se version="1.4+" max-heap-size="128M"/>
+ <jar href="http://jake2.sourceforge.net/lib/patch.jar"/>
<jar href="http://jake2.sourceforge.net/lib/linux/joal.jar"/>
+ <jar href="http://jake2.sourceforge.net/lib/linux/joal-native.jar"/>
<nativelib href="http://jake2.sourceforge.net/lib/linux/jogl-native.jar"/>
<nativelib href="http://jake2.sourceforge.net/lib/linux/joal-native.jar"/>
</resources>
diff --git a/webstart/jake2_jogl11.jnlp b/webstart/jake2_jogl11.jnlp
index c9bf7b7..4ef29bd 100644
--- a/webstart/jake2_jogl11.jnlp
+++ b/webstart/jake2_jogl11.jnlp
@@ -26,7 +26,9 @@
<resources os="Linux">
<j2se version="1.4+" max-heap-size="128M"/>
+ <jar href="http://jake2.sourceforge.net/lib/patch.jar"/>
<jar href="http://jake2.sourceforge.net/lib/linux/joal.jar"/>
+ <jar href="http://jake2.sourceforge.net/lib/linux/joal-native.jar"/>
<nativelib href="http://jake2.sourceforge.net/lib/linux/joal-native.jar"/>
</resources>
diff --git a/webstart/jake2_jogl11ATI.jnlp b/webstart/jake2_jogl11ATI.jnlp
index 8590b58..080950b 100644
--- a/webstart/jake2_jogl11ATI.jnlp
+++ b/webstart/jake2_jogl11ATI.jnlp
@@ -26,7 +26,9 @@
<resources os="Linux">
<j2se version="1.4+" max-heap-size="128M"/>
+ <jar href="http://jake2.sourceforge.net/lib/patch.jar"/>
<jar href="http://jake2.sourceforge.net/lib/linux/joal.jar"/>
+ <jar href="http://jake2.sourceforge.net/lib/linux/joal-native.jar"/>
<nativelib href="http://jake2.sourceforge.net/lib/linux/joal-native.jar"/>
</resources>