Browse Source

cut out jspc testing unless jasper is around

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271793 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 23 years ago
parent
commit
d0a3744305
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      build.xml

+ 11
- 0
build.xml View File

@@ -433,6 +433,14 @@
substring="${build.tests.resolved}" />
</or>
</condition>
<condition property="jasper.present">
<and>
<available classname="org.apache.jasper.compiler.Compiler" />
<available classname="org.apache.jasper.JasperException" />
</and>
</condition>
</target>


@@ -1190,6 +1198,9 @@
<exclude name="${util.package}/DateUtilsTest.java"
unless="jdk1.2+" />

<exclude name="${optional.package}/JspcTest.java"
unless="jasper.present" />
<!-- These tests only passes if testcases and Ant classes have
been loaded by the same classloader - will throw
IllegalAccessExceptions otherwise. -->


Loading…
Cancel
Save