You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Andrew Potter (JIRA)" <de...@tuscany.apache.org> on 2012/05/29 15:15:22 UTC

[jira] [Created] (TUSCANY-4058) itest/distribution/legal-checks build failure with IBM JDK

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

        

[jira] [Commented] (TUSCANY-4058) itest/distribution/legal-checks build failure with IBM JDK

Posted by "Andrew Potter (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290986#comment-13290986 ] 

Andrew Potter commented on TUSCANY-4058:
----------------------------------------

similarly, the if block at line 104 of trunk\distribution\tomcat\testing\legal-checks\src\test\java\itest\JarsInLICENSETestCase.java should be changed to ignore two more jars than above:

                 if (jar.startsWith("tuscany-")) {
                       // 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("jaka    rta-regexp-1.4.jar") || jar.equals("xalan-2.7.0.jar") || jar.equals("xml-apis-1.0.b2.jar"))) {
                       // ignore IBM JDK specific jars.
                 } else {
                      badJars.add(jar);
                 }
                
> 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

        

[jira] [Closed] (TUSCANY-4058) itest/distribution/legal-checks build failure with IBM JDK

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ 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