[fedora-java] axis2: openjdk6 javascript e4x rhino

greno at verizon.net greno at verizon.net
Wed Oct 28 20:15:53 UTC 2009





Oct 28, 2009 01:17:13 PM, akurtako at 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




More information about the fedora-devel-java-list mailing list