aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-16 15:10:52 +0200
committerSven Gothel <[email protected]>2012-10-16 15:10:52 +0200
commit69a13e7d8429c5f51df5d486b53ba7c7eeede120 (patch)
treeff6c2c4cac4abeb2f5665feb7e329d8e9ca5f536 /build.xml
parente142788fe2f8a27f1ac4febcead1b1564a0116cc (diff)
Fix build of dist: remove lwjgl, use jogamp lib location, fix scripts
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml51
1 files changed, 3 insertions, 48 deletions
diff --git a/build.xml b/build.xml
index 4560b27..0dd7638 100644
--- a/build.xml
+++ b/build.xml
@@ -23,8 +23,6 @@
<pathelement location="lib/jogamp/gluegen-rt.jar"/>
<pathelement location="lib/jogamp/jogl-all.jar"/>
<pathelement location="lib/jogamp/joal.jar"/>
- <pathelement location="lib/lwjgl/lwjgl.jar"/>
- <pathelement location="lib/lwjgl/lwjgl_util.jar"/>
<!-- pathelement location="${java.home}/lib/plugin.jar"/ -->
</path>
@@ -68,27 +66,11 @@
<!-- copy files -->
<target name="copy">
- <copy todir="${dist}/lib">
- <fileset dir="lib/lwjgl">
+ <copy todir="${dist}/lib/jogamp">
+ <fileset dir="lib/jogamp">
<include name="*.jar"/>
</fileset>
</copy>
- <copy todir="${dist}/lib/linux/lwjgl">
- <fileset dir="lib/lwjgl/linux">
- <include name="*"/>
- </fileset>
- </copy>
- <copy todir="${dist}/lib/windows/lwjgl">
- <fileset dir="lib/lwjgl/windows">
- <include name="*"/>
- </fileset>
- </copy>
- <copy todir="${dist}/lib/osx/lwjgl">
- <fileset dir="lib/lwjgl/osx">
- <include name="*"/>
- </fileset>
- </copy>
-
<copy todir="${dist}">
<fileset dir="scripts">
<include name="Jake2*"/>
@@ -141,25 +123,12 @@
</proguard -->
</target>
- <target name="patch" depends="copy">
- <!-- performance patch for lwjgl -->
- <javac destdir="${build}" optimize="off" debug="on" source="1.6">
- <src path="lib/lwjgl/patch"/>
- <include name="org/lwjgl/**"/>
- <classpath refid="build.class.path"/>
- </javac>
- <!-- update original lwjgl.jar -->
- <jar destfile="${dist}/lib/lwjgl.jar" basedir="${build}" update="true">
- <include name="org/lwjgl/**"/>
- </jar>
- </target>
-
<!-- everything -->
<target name="all" depends="installer,bindist,srcdist">
</target>
<!-- dist -->
- <target name="dist" depends="jar,copy,patch">
+ <target name="dist" depends="jar,copy">
</target>
<!-- binary distribution -->
@@ -241,20 +210,6 @@
</fileset>
</copy>
- <mkdir dir="webstart/lib/linux"/>
- <jar destfile="webstart/lib/linux/lwjgl-native.jar" basedir="${dist}/lib/linux/lwjgl">
- <include name="*.so"/>
- </jar>
- <mkdir dir="webstart/lib/osx"/>
- <jar destfile="webstart/lib/osx/lwjgl-native.jar" basedir="${dist}/lib/osx/lwjgl">
- <include name="liblwjgl.jnilib"/>
- <include name="openal.dylib"/>
- </jar>
- <mkdir dir="webstart/lib/windows"/>
- <jar destfile="webstart/lib/windows/lwjgl-native.jar" basedir="${dist}/lib/windows/lwjgl">
- <include name="lwjgl.dll"/>
- <include name="OpenAL32.dll"/>
- </jar>
<signjar keystore="${user.home}/bytonic" alias="bytonic" storepass="${bytonic.pass}">
<fileset dir="webstart/lib">
<include name="**/*.jar"/>