diff options
author | Sven Gothel <[email protected]> | 2011-09-15 05:40:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-15 05:40:01 +0200 |
commit | 5986c56f506ebab1c26e3eb7f8130018d97bc202 (patch) | |
tree | 724658f4fb77e60e9f2fd7d729f2fb11bcb4cb51 /make/build.xml | |
parent | b20d7adfe5be3ca14b717a2462fcb90ae6f44762 (diff) |
ant build: don't delete jar/lib on 'one.dir', but 'clean' only
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/make/build.xml b/make/build.xml index af2f7ba47..a8fcd5d30 100644 --- a/make/build.xml +++ b/make/build.xml @@ -55,6 +55,8 @@ <fileset dir="${build}" /> <fileset dir="." includes="*.tga" /> </delete> + <delete includeEmptyDirs="true" quiet="true" dir="${jar}" failonerror="false" /> + <delete includeEmptyDirs="true" quiet="true" dir="${lib}" failonerror="false" /> </target> <!-- ================================================================== --> @@ -78,7 +80,6 @@ </target> <target name="one.lib.dir" depends="init,gluegen.cpptasks.detect.os" unless="one.dir.skip"> - <delete includeEmptyDirs="true" quiet="true" dir="${lib}" failonerror="false" /> <mkdir dir="${lib}" /> <copy todir="${lib}"> <fileset dir="${build}/jogl/obj" includes="*.${native.library.suffix}" /> @@ -88,7 +89,6 @@ </target> <target name="one.jar.dir.prep" depends="one.lib.dir" unless="one.dir.skip"> - <delete includeEmptyDirs="true" quiet="true" dir="${jar}" failonerror="false" /> <mkdir dir="${jar}" /> <mkdir dir="${jar}/atomic" /> <copy todir="${jar}/atomic"> @@ -163,9 +163,6 @@ jarmanifest.path="${build.jogl}/manifest.mf" version.code="${jogl_int_version}" version.name="${jogl.version.plus}" /> - <delete includeEmptyDirs="true" quiet="true" failonerror="false"> - <fileset dir="${lib}" includes="libgluegen-rt.so" /> - </delete> </target> <target name="android.launcher" depends="init,gluegen.cpptasks.detect.os" if="isAndroid"> |