aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-01-22 04:10:19 +0100
committerMichael Bien <[email protected]>2011-01-22 04:10:19 +0100
commit716ff1945e229fbb358a1f1b2131933a8c37ce20 (patch)
treee197d1fad2de4d9c43a708a3aaa2a54e1990f78d
parentcecd8d38d5485ff0a510aafd3aadc4058d525560 (diff)
fixed distribution archive, added license and readme.
-rw-r--r--build.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/build.xml b/build.xml
index c458a642..6468ba63 100644
--- a/build.xml
+++ b/build.xml
@@ -139,16 +139,19 @@
<!-- zip distribution -->
<zip destfile="${dist.dir}/${dist.zip.name}.zip">
- <zipfileset dir="${dist.dir}" includes="jocl.jar" prefix="${dist.zip.name}/jar"/>
- <zipfileset dir="${dist.dir}" includes="jocl-natives-*.jar" prefix="${dist.zip.name}/jar"/>
- <zipfileset dir="${dist.dir}/lib" includes="*-natives-*.jar" prefix="${dist.zip.name}/jar"/>
+ <!-- jars and jared natives -->
+ <zipfileset dir="${dist.dir}" includes="jocl.jar,jocl-natives-*.jar" prefix="${dist.zip.name}/jar"/>
+ <zipfileset dir="${dist.dir}/lib" includes="*.jar" prefix="${dist.zip.name}/jar"/>
+
<zipfileset dir="." includes="*.jnlp" prefix="${dist.zip.name}/jnlp-files"/>
+ <zipfileset dir="." includes="README,LICENSE" prefix="${dist.zip.name}"/>
<zipfileset dir="${dist.dir}" includes="*.properties" prefix="${dist.zip.name}"/>
+
+ <!-- native files, TODO: remove when no longer needed -->
<zipfileset dir="${basedir}/${rootrel.build}/natives/jocl" excludes="*.xml" prefix="${dist.zip.name}/lib"/>
<zipfileset dir="${jogl.root}/${rootrel.build}/lib" excludes="*.xml" prefix="${dist.zip.name}/lib"/>
- <zipfileset dir="${gluegen.root}/${rootrel.build}/obj" includes="*gluegen-rt.*" excludes="*.xml" prefix="${dist.zip.name}/lib"/>
</zip>
-
+
</target>
<target name="tag.build">
@@ -399,7 +402,7 @@
<!-- overwrites default target - watch out when build-impl.xml changes -->
<target name="-post-test-run" depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests">
- <zip destfile="${dist.dir}/${dist.zip.name}-test-results.zip" update="false">
+ <zip destfile="${dist.dir}/${dist.zip.name}-test-results.zip">
<zipfileset dir="${build.test.results.dir}" prefix="${dist.zip.name}/test-results"/>
</zip>
<fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>