You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2012/01/31 11:01:50 UTC
svn commit: r1238354 -
/ant/core/trunk/src/tests/antunit/taskdefs/optional/script/scriptdef-test.xml
Author: bodewig
Date: Tue Jan 31 10:01:50 2012
New Revision: 1238354
URL: http://svn.apache.org/viewvc?rev=1238354&view=rev
Log:
help dealing with the case where BSF is there but JavaScript support is not - the current build failure in Gump
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=1238354&r1=1238353&r2=1238354&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 Tue Jan 31 10:01:50 2012
@@ -35,6 +35,16 @@
</or>
</condition>
+ <!-- auto doesn't verify the language is supported and selects BSF
+ even if the JavaScriptEngine is not there -->
+ <condition property="script.manager" value="javax">
+ <and>
+ <not>
+ <available classname="org.apache.bsf.engines.javascript.JavaScriptEngine" />
+ </not>
+ <isset property="prereqs-ok"/>
+ </and>
+ </condition>
<property name="script.manager" value="auto" />
<string id="script.code">