diff options
author | Sven Gothel <[email protected]> | 2010-04-28 05:55:38 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-28 05:55:38 +0200 |
commit | e5720ee629fba06bc266265b42eb559150f7d7a3 (patch) | |
tree | 767e3da76d48ed46879c1b78a186d1b5d44ca2e2 /make/build.xml | |
parent | a08c3c054a6b9cfe892d2516c66362083dc72290 (diff) |
Integrate deployment scripts. jar: copy-repack200-sign-pack200. jnlp: copy-filter
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml index 5a0952289..de1b31115 100644 --- a/make/build.xml +++ b/make/build.xml @@ -52,6 +52,34 @@ </copy> </target> + <target name="one-jar-dir" depends="init,gluegen.cpptasks.detect.os"> + <delete includeEmptyDirs="true" quiet="true" dir="${jar}" failonerror="false" /> + <mkdir dir="${jar}" /> + <copy todir="${jar}"> + <fileset dir="${gluegen.root}/${rootrel.build}" includes="gluegen-rt*.jar" /> + <fileset dir="${build}/jogl" includes="*.jar" /> + <fileset dir="${build}/nativewindow" includes="*.jar" /> + <fileset dir="${build}/newt" includes="*.jar" /> + </copy> + </target> + + <target name="repack-jars" depends="one-jar-dir"> + <!-- Re-pack jars we have the intent to compress later, after signing --> + <mkdir dir="${jar}/orig" /> + <copy todir="${jar}/orig"> + <fileset dir="${jar}" includes="*.jar" /> + </copy> + <apply dir="${jar}" executable="${java.home}/bin/pack200" + parallel="false" + vmlauncher="false" + relative="true" + failonerror="false"> + <arg line="--repack"/> + <srcfile/> + <fileset dir="${jar}" includes="*.jar" /> + </apply> + </target> + <!-- ================================================================== --> <!-- - Build the per-platform binary zip archive for developers. @@ -125,7 +153,7 @@ - Main build target. --> - <target name="all" description="Build nativewindow, jogl and newt projects, incl. all junit tests " depends="init,build.nativewindow,build.jogl,build.newt,junit.compile,one-lib-dir,developer-zip-archive,source-archive" /> + <target name="all" description="Build nativewindow, jogl and newt projects, incl. all junit tests " depends="init,build.nativewindow,build.jogl,build.newt,junit.compile,one-lib-dir,one-jar-dir,developer-zip-archive,source-archive" /> <target name="junit.compile"> <ant antfile="build-junit.xml" target="junit.compile" inheritRefs="true" inheritAll="true"/> |