Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-4054

Build failure with itest/base/dependencies and itest/scdl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Java-SCA-2.x
    • None
    • None
    • EITHER Oracle or IBM JDK
    • Patch Available

    Description

      Build fails with exception:
      junit.framework.AssertionFailedError: expected:<6> but was:<12>

      This seems to have come about because of the new dependency for the Woodstox parser, with both the Oracle and IBM JDKs. The generated dependencies in target/dependencies are as follows:

      asm-3.1.jar
      bcel-5.2.jar
      cglib-2.2.jar
      jakarta-regexp-1.4.jar
      junit-4.8.1.jar
      stax-api-1.0.1.jar
      tuscany-base-runtime-2.0-SNAPSHOT.jar
      wsdl4j-1.6.2.jar
      wstx-asl-3.2.9.jar
      xalan-2.7.0.jar
      xml-apis-1.0.b2.jar
      XmlSchema-1.4.3.jar

      Possible fix, change line 55 of:

      trunk\testing\itest\base\dependencies\src\test\java\org\apache\tuscany\sca\itest\base\dependencies\ValidateDependenciesTestCase.java

      and line 52 of:

      C:\Users\IBM_ADMIN\Documents\Tuscany\Source\trunk\testing\itest\scdl\src\test\java\org\apache\tuscany\sca\itest\scdl\ValidateDependenciesTestCase.java

      to:

      Assert.assertEquals(12, dependencyFiles.length);

      as well as updating the comments in both files to include these dependencies, as long as they are accpetable.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aepotter@us.ibm.com Andrew Potter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: