[ https://issues.apache.org/jira/browse/TUSCANY-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13282592#comment-13282592 ]
Andrew Potter commented on TUSCANY-4054: ---------------------------------------- Ok, better fix. Remove the two lines mentioned previously and replace with: String vend = System.getProperty("java.vendor"); if(vend.equals("IBM Corporation")) { Assert.assertEquals(12, dependencyFiles.length); } else { Assert.assertEquals(8, dependencyFiles.length); } to check for the IBM jdk and test appropriately. > Build failure with itest/base/dependencies and itest/scdl > --------------------------------------------------------- > > Key: TUSCANY-4054 > URL: https://issues.apache.org/jira/browse/TUSCANY-4054 > Project: Tuscany > Issue Type: Bug > Affects Versions: Java-SCA-2.x > Environment: EITHER Oracle or IBM JDK > Reporter: Andrew Potter > Priority: Blocker > Labels: build-failure > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira