tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1347599 - /tuscany/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
Date Thu, 07 Jun 2012 13:13:31 GMT
Author: antelder
Date: Thu Jun  7 13:13:31 2012
New Revision: 1347599

URL: http://svn.apache.org/viewvc?rev=1347599&view=rev
Log:
TUSCANY-4058: Apply update from Andrew Potter to support IBM JDK

Modified:
    tuscany/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java

Modified: tuscany/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java?rev=1347599&r1=1347598&r2=1347599&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java
Thu Jun  7 13:13:31 2012
@@ -103,6 +103,8 @@ public class JarsInLICENSETestCase {
             if (!licenseText.contains(jar)) {
                 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);
                 }



Mime
View raw message