You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2011/07/21 22:44:48 UTC

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

Author: antelder
Date: Thu Jul 21 20:44:48 2011
New Revision: 1149354

URL: http://svn.apache.org/viewvc?rev=1149354&view=rev
Log:
Update to ensure the src distro isn't ever used in error over the binat distro

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=1149354&r1=1149353&r2=1149354&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 Jul 21 20:44:48 2011
@@ -130,7 +130,7 @@ public class JarsInLICENSETestCase {
         File distroTarget = new File("../../../../distribution/all/target");
         File root = null;
         for (String f : distroTarget.list()) {
-            if (f.endsWith(".dir")) {
+            if (f.endsWith(".dir") && !f.endsWith("src.dir")) {
                 root =  new File(distroTarget, f);
                 break;
             }