Andrew Potter created TUSCANY-4058:
--------------------------------------

             Summary: 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


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

        

Reply via email to