stevel 02/03/08 00:34:19
Modified: . build.xml
Log:
cut out jspc testing unless jasper is around
Revision Changes Path
1.261 +11 -0 jakarta-ant/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/build.xml,v
retrieving revision 1.260
retrieving revision 1.261
diff -u -r1.260 -r1.261
--- build.xml 6 Mar 2002 03:25:49 -0000 1.260
+++ build.xml 8 Mar 2002 08:34:19 -0000 1.261
@@ -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. -->
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>