diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/build.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/make/build.xml b/make/build.xml index 9dae78e..a32a16b 100644 --- a/make/build.xml +++ b/make/build.xml @@ -707,7 +707,17 @@ - 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="gluegen-java-src.zip" /> + </delete--> + <zip destfile="${build}/gluegen-java-src.zip"> + <fileset dir="${src.java}"/> + <fileset dir="${build}/gensrc/java"/> + </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}"/> @@ -724,10 +734,6 @@ <copy todir="${archive}/jnlp-files"> <fileset dir="${project.root}/jnlp-files" includes="*" /> </copy> - <zip destfile="${build}/gluegen-java-src.zip"> - <fileset dir="${src.java}"/> - <fileset dir="${build}/gensrc/java"/> - </zip> <copy todir="${archive}" file="${build}/gluegen-java-src.zip"/> <archive.7z destfile="${build}/${archive.name}.7z" basedir="${build}" |