ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r693729 - /ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
Date Wed, 10 Sep 2008 08:05:12 GMT
Author: bodewig
Date: Wed Sep 10 01:05:12 2008
New Revision: 693729

URL: http://svn.apache.org/viewvc?rev=693729&view=rev
Log:
Tests fail in Gump if BSF has been built without JavaScript support.

Modified:
    ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml

Modified: ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml?rev=693729&r1=693728&r2=693729&view=diff
==============================================================================
--- ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml (original)
+++ ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml Wed Sep 10
01:05:12 2008
@@ -27,7 +27,10 @@
   
   <condition property="prereqs-ok">
     <or>
-      <available classname="org.apache.bsf.BSFManager"/>
+      <and>
+        <available classname="org.apache.bsf.BSFManager"/>
+        <available classname="org.apache.bsf.engines.javascript.JavaScriptEngine"/>
+      </and>
       <available classname="javax.script.ScriptEngineManager"/>
     </or>
   </condition>



Mime
View raw message