You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2012/06/07 15:14:23 UTC
[jira] [Closed] (TUSCANY-4058) itest/distribution/legal-checks
build failure with IBM JDK
[ https://issues.apache.org/jira/browse/TUSCANY-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder closed TUSCANY-4058.
------------------------------
Resolution: Fixed
Updates applied, thanks for the fixes Andrew
> itest/distribution/legal-checks build failure with IBM JDK
> ----------------------------------------------------------
>
> Key: TUSCANY-4058
> URL: https://issues.apache.org/jira/browse/TUSCANY-4058
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-2.x
> Environment: IBM JDK
> Reporter: Andrew Potter
> Priority: Blocker
> Labels: build-failure
>
> Two jars are included with the IBM JDK that are not included in the license, causing a build failure. The offending jars are bcel-5.2.jar and jakarta-regexp-1.4.jar. To fix, add two lines to the if statement in:
> trunk\testing\itest\distribution\legal-checks\src\test\java\itest\JarsInLICENSETestCase.java
> Starting at line 104, the if block should be as follows:
> if (jar.startsWith("tuscany-") || jar.startsWith("sample-") || jar.startsWith("test-") || jar.startsWith("itest-")) {
> // ignore tuscany jars as they're not mentioned in the LICENSE file
> } else if (System.getProperty("java.vendor").equals("IBM Corporation") && (jar.equals("bcel-5.2.jar") || jar.equals("jakarta-regexp-1.4.jar"))) {
> // ignore IBM JDK specific jars.
> } else {
> badJars.add(jar);
> }
--
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