diff options
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"/> |