You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2007/12/19 13:19:38 UTC
svn commit: r605523 -
/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Author: smishura
Date: Wed Dec 19 04:19:37 2007
New Revision: 605523
URL: http://svn.apache.org/viewvc?rev=605523&view=rev
Log:
Replace uptodate with available (it doesn't work as I expected)
Modified:
harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Modified: harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml?rev=605523&r1=605522&r2=605523&view=diff
==============================================================================
--- harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml (original)
+++ harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml Wed Dec 19 04:19:37 2007
@@ -522,15 +522,12 @@
<attribute name="suitename" />
<sequential>
- <uptodate property="junit.report.dir"
- value="${@{suitename}.junit.report}"
- targetfile="${snapshot}/${snapshot.file}">
-
- <!-- report files should be at least newer
- then tested snapshot -->
- <srcfiles dir="${@{suitename}.junit.report}"
- includes="TEST*-*.xml" />
- </uptodate>
+ <!-- TODO: replace with uptodate task -->
+ <!-- report files should be at least newer then tested snapshot -->
+ <condition property="junit.report.dir"
+ value="${@{suitename}.junit.report}">
+ <available file="${@{suitename}.junit.report}" type="dir" />
+ </condition>
<condition property="report.dir" value="${@{suitename}.report}">
<available file="${@{suitename}.report}" type="dir" />