Browse Source

Allow tests to be run behind a firewall by specifying -Doffline=true

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271535 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 23 years ago
parent
commit
9943b1046c
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      build.xml

+ 7
- 1
build.xml View File

@@ -27,7 +27,7 @@
<property name="junit.fork" value="false" />
<property name="junit.filtertrace" value="off"/>
<property name="junit.summary" value="no"/>
<!--
===================================================================
Set the properties related to the source tree
@@ -286,6 +286,9 @@
<patternset id="needs.jdepend">
<exclude name="${optional.package}/jdepend/*" unless="jdepend.present" />
</patternset>
<patternset id="onlinetests">
<exclude name="**/GetTest.java" if="offline" />
</patternset>

<!--
===================================================================
@@ -1126,6 +1129,9 @@
<patternset refid="needs.xalan1" />
<patternset refid="needs.xslp" />

<!-- tests excluded if the test is run in offline mode -->
<patternset refid="onlinetests"/>
<!-- runtime dependencies that are different from compile
time dependencies -->
<exclude name="${optional.package}/ReplaceRegExpTest.java"


Loading…
Cancel
Save