Oct 28, 2009 04:16:18 PM, greno(a)verizon.net wrote:
Oct 28, 2009 01:17:13 PM, akurtako(a)redhat.com wrote:
I've been trying to get axis2 built for F11. The newest version
that
meets all the dependencies is axis2 1.3 due to maven2 being only at
2.0.4. Axis2 1.3 nearly builds except for failing tests for the Scripting
Module:
You can stop tests from compiling and running with -Dmaven.test.skipt=true.
And maven in F-12 is 2.0.8 so you may have a better luck with Fedora 12.
Regards,
Alex
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.axis2.scripting.convertors.JSOMElementConvertorTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.797 sec
<<< FAILURE! Running org.apache.axis2.scripting.ScriptReceiverTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.081 sec
<<< FAILURE!
Results :
Tests in error:
testToAndFromScript(org.apache.axis2.scripting.convertors.JSOMElementConve
rtorTest)
testFromScript(org.apache.axis2.scripting.convertors.JSOMElementConvertorT
est) testInvokeBusinessLogic(org.apache.axis2.scripting.ScriptReceiverTest)
testAxisService(org.apache.axis2.scripting.ScriptReceiverTest)
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
This appears to be related to this bug:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149
What is the best way to workaround this rhino problem with openjdk6?
-Gerry
Yes, -Dmaven.test.skipt=true would keep the tests from compiling/running. But I think
that the underlying problem is not fixed. It appears that rhino is crippled in some way
in openjdk6 and if we could use a custom rhino jar then we could substitute it for the
crippled system jar. And then the tests would probably pass. This is what I would like
help in achieving.
-Gerry
And in doing some more searching it appears that this deficiency in rhino was due to some
license issue that openjdk6 did not like so some code was removed. If I understand
correctly that license problem has been addressed (at least from rhino perspective). So
what would be good is if there could be an update to all openjdk6 that would incorporate
the complete rhino code so javascript would fully work.
-Gerry