ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r489122 - /ant/core/trunk/src/tests/antunit/types/resources/test.xml
Date Wed, 20 Dec 2006 15:52:12 GMT
Author: jhm
Date: Wed Dec 20 07:52:11 2006
New Revision: 489122

URL: http://svn.apache.org/viewvc?view=rev&rev=489122
Log:
Check if we are online for the online tests (maybe the property is not passed to the test).

Modified:
    ant/core/trunk/src/tests/antunit/types/resources/test.xml

Modified: ant/core/trunk/src/tests/antunit/types/resources/test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/types/resources/test.xml?view=diff&rev=489122&r1=489121&r2=489122
==============================================================================
--- ant/core/trunk/src/tests/antunit/types/resources/test.xml (original)
+++ ant/core/trunk/src/tests/antunit/types/resources/test.xml Wed Dec 20 07:52:11 2006
@@ -6,6 +6,15 @@
   <property name="zip" location="${dirname}.zip" />
   <property name="jar" location="${dirname}.jar" />
   <property name="file" location="${dirname}/file.txt" />
+    
+  <condition property="offline">
+    <not>
+      <or>
+        <http url="http://www.apache.org"/>
+        <http url="http://www.google.com"/>
+      </or>
+    </not>
+  </condition>
 
   <target name="setUp">
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message