You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ap...@apache.org on 2007/04/04 09:45:55 UTC
svn commit: r525451 - in /harmony/enhanced/classlib/trunk: build.xml
make/build-java.xml
Author: apetrenko
Date: Wed Apr 4 00:45:49 2007
New Revision: 525451
URL: http://svn.apache.org/viewvc?view=rev&rev=525451
Log:
Patch for HARMONY-3550 "[classlib][testing] key to fail/pass if not all files were removed"
Modified:
harmony/enhanced/classlib/trunk/build.xml
harmony/enhanced/classlib/trunk/make/build-java.xml
Modified: harmony/enhanced/classlib/trunk/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/build.xml?view=diff&rev=525451&r1=525450&r2=525451
==============================================================================
--- harmony/enhanced/classlib/trunk/build.xml (original)
+++ harmony/enhanced/classlib/trunk/build.xml Wed Apr 4 00:45:49 2007
@@ -120,7 +120,9 @@
================================= -->
<target name="clean-java" depends="-init-hdk-for-clean"
description="Removes the compiled java code" >
- <ant antfile="make/build-java.xml" inheritall="false" target="clean" />
+ <ant antfile="make/build-java.xml" inheritall="false" target="clean" >
+ <property name="keep.working" value="${keep.working}" />
+ </ant>
</target>
<!-- ================================
Modified: harmony/enhanced/classlib/trunk/make/build-java.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/make/build-java.xml?view=diff&rev=525451&r1=525450&r2=525451
==============================================================================
--- harmony/enhanced/classlib/trunk/make/build-java.xml (original)
+++ harmony/enhanced/classlib/trunk/make/build-java.xml Wed Apr 4 00:45:49 2007
@@ -93,7 +93,11 @@
<fileset refid="built.files" />
</delete>
- <fail if="built.files.exist">
+ <condition property="continue">
+ <equals arg1="${keep.working}" arg2="true" />
+ </condition>
+
+ <fail if="built.files.exist" unless="continue">
...
Built files still exist after module clean targets have run. This