harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r605523 - /harmony/enhanced/buildtest/branches/2.0/adaptors/snapshot/adaptor.xml
Date Wed, 19 Dec 2007 12:19:38 GMT
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" />



Mime
View raw message