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

itest/distribution/legal-checks build failure with IBM JDK

    XMLWordPrintableJSON

Details

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

    Description

      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); }

      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: