You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2006/12/20 16:52:12 UTC

svn commit: r489122 - /ant/core/trunk/src/tests/antunit/types/resources/test.xml

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