diff options
author | Sven Gothel <[email protected]> | 2011-05-22 06:52:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-05-22 06:52:18 +0200 |
commit | f48f1f68ed51fd83f0fa5282209b556eab39e23e (patch) | |
tree | 2d5f5156d34956071ad6acac4b8d3d9ecf2d6b43 /make/build.xml | |
parent | 23163408131b077362439ec4f898d0ad3ce084e1 (diff) |
create source zip archives per default
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/make/build.xml b/make/build.xml index 58e78e1f0..066b81382 100644 --- a/make/build.xml +++ b/make/build.xml @@ -124,7 +124,26 @@ - This must be called after all of the build targets complete. --> - <target name="developer-zip-archive" depends="init" if="build.archiveon"> + <target name="developer-src-zip" depends="init"> + <!--delete includeEmptyDirs="true" quiet="true" failonerror="false"> + <fileset dir="${build}" includes="nativewindow-java-src.zip" /> + <fileset dir="${build}" includes="jogl-java-src.zip" /> + <fileset dir="${build}" includes="newt-java-src.zip" /> + </delete--> + <zip destfile="${build}/nativewindow-java-src.zip"> + <fileset dir="${src}/nativewindow/classes"/> + <fileset dir="${build}/nativewindow/gensrc/classes"/> + </zip> + <zip destfile="${build}/jogl-java-src.zip"> + <fileset dir="${src}/jogl/classes"/> + <fileset dir="${build}/jogl/gensrc/classes"/> + </zip> + <zip destfile="${build}/newt-java-src.zip"> + <fileset dir="${src}/newt/classes"/> + </zip> + </target> + + <target name="developer-zip-archive" depends="init,developer-src-zip" if="build.archiveon"> <delete includeEmptyDirs="true" quiet="true" dir="${archive}" failonerror="false" /> <mkdir dir="${archive}" /> <copy file="${build}/artifact.properties" todir="${archive}" /> @@ -157,17 +176,6 @@ <copy todir="${archive}/etc"> <fileset dir="${project.root}/etc" includes="*" /> </copy> - <zip destfile="${build}/nativewindow-java-src.zip"> - <fileset dir="${src}/nativewindow/classes"/> - <fileset dir="${build}/nativewindow/gensrc/classes"/> - </zip> - <zip destfile="${build}/jogl-java-src.zip"> - <fileset dir="${src}/jogl/classes"/> - <fileset dir="${build}/jogl/gensrc/classes"/> - </zip> - <zip destfile="${build}/newt-java-src.zip"> - <fileset dir="${src}/newt/classes"/> - </zip> <copy todir="${archive}"> <fileset dir="${build}"> <include name="nativewindow-java-src.zip"/> |