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 21:45:42 GMT
On 11/1/07, Rony G. Flatscher <Rony.Flatscher@wu-wien.ac.at> wrote:
>
>
> > With the JDK5/1.4 issue, i've been working on the assumption that the
> actual
> > source code does require JDK5, the JSR-223 spec uses JDK5 specifics  eg
> the
> > Invocable  interface has  invokeFunction(String methodName , Object...
> args)
> > so that just wont compile with pre JDK5 so i run with JDK5 in my build.
> > However it looks like the recent patches have removed all the JDK5
> specifics
> > in the BSF src converting to the JDK14 syntax, except for the code I've
> > added recently that you've now found :) If possible I'd like to avoid a
> > respin to fix this and just have the limitation that beta2 requires a
> JDK5
> > build environment - the built bsf jars will still work in pre-jdk5.
> This would be fine with me with beta2.
>
> > Still need to find if the compile error you're seeing is a problem and
> why i'm not getting it.
> >
> O.K. I think it was my own fault, as my installation was not that clean
> as I have thought :-((
> [I had some scripting engines in the ext-directory, which means that
> they get picked up before anything outside of the boot and ext
> directories.]
>
> After removing those scripting engines (among them a JavaScript engine)
> the building of the "\bsf-engines-3.0-beta2.jar" package was successful!
>
> ---
>
> However, at the moment the building of the tests fails (running with
> "mvn -e" with JDK 1.6):
>
> ----------- cut here ---------
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building Apache BSF Utils
> [INFO]    task-segment: [install]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> F:\download\Apache\bsf\bsf3\bsf-
> 3.0-beta2-src\bsf-utils\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.bsf.xml.JavaScriptXMLHelperTestCase
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.203
> sec <<< FAILURE!
>
> Results :
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:560)
>         at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:480)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:459)
>         at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:311
> )
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:278)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are test
> failures.
>         at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(
> SurefirePlugin.java:403)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:420)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:539)
>         ... 16 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Thu Nov 01 22:35:58 CET 2007
> [INFO] Final Memory: 9M/17M
> [INFO]
> ------------------------------------------------------------------------
>
> ----------- cut here ---------
>
> Not sure, why this fails.


Is there a .txt file in the bsf-utils\target\surefire-reports folder with
any more info?

   ...ant

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