jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ant elder" <ant.el...@gmail.com>
Subject Re: One step further... (Re: Build-problems... (Re: [VOTE] Release BSF 3.0-beta2
Date Thu, 01 Nov 2007 22:03:49 GMT
On 11/1/07, Rony G. Flatscher <Rony.Flatscher@wu-wien.ac.at> wrote:
>
>
> >> ----------- cut here ---------
> >>
> >> Not sure, why this fails.
> >>
> >
> >
> > Is there a .txt file in the bsf-utils\target\surefire-reports folder
> with
> > any more info?
> >
>
> Yes, here it is (just did not know where to look, still learning...):
>
> ------------- cut here -------------
>
> -------------------------------------------------------------------------------
> Test set: org.apache.bsf.xml.JavaScriptXMLHelperTestCase
>
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
> sec <<< FAILURE!
> testToOmElement(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
> elapsed: 0.11 sec  <<< ERROR!
> javax.script.ScriptException:
> sun.org.mozilla.javascript.internal.EvaluatorException: syntax error
> (<Unknown source>#1) in <Unknown source> at line number 1
>     at
> com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java
> :110)
>     at
> com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java
> :124)
>     at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java
> :247)
>     at
> org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToOmElement(
> JavaScriptXMLHelperTestCase.java:41)
>
> testToScriptXML(org.apache.bsf.xml.JavaScriptXMLHelperTestCase)  Time
> elapsed: 0.062 sec  <<< ERROR!
> com.sun.phobos.script.util.ExtendedScriptException:
> org.mozilla.javascript.EcmaError: ReferenceError: "XML" is not defined.
> (<Unknown source>#1) in <Unknown source> at line number 1
>     at
> com.sun.phobos.script.javascript.RhinoScriptEngine.eval(
> RhinoScriptEngine.java:184)
>     at
> com.sun.phobos.script.javascript.RhinoScriptEngine.eval(
> RhinoScriptEngine.java:198)
>     at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java
> :247)
>     at
> org.apache.bsf.xml.JavaScriptXMLHelperTestCase.testToScriptXML(
> JavaScriptXMLHelperTestCase.java:50)
> ------------- cut here -------------
>
> Does this help?
> (If not, I could send the XML-file which also has all the relevant Java
> properties.)
>
> ---rony
>
>
> I'm guessing that this is due to JDK6 having the inbuilt back level
version of Rhino at 1.6R5 which BSF needs specific code to deal with and we
don't have that yet..

   ...ant

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message