diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-07-21 20:46:40 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-07-21 20:46:40 +0000 |
commit | 63b0ef81602c04d55bb9ebc9755022028541221e (patch) | |
tree | 90b651e849cdc3f19df71824abe5ea32d006b3d9 /sca-java-2.x/branches | |
parent | 89d67f43f0fa022e3f044af5bab427c3227b22bb (diff) |
Merge fix to legal check test in r if (f.endsWith(.dir) && !f.endsWith(src.dir)) {
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1149355 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/branches')
-rw-r--r-- | sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java b/sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java index 5ee67ff3ff..865eec3636 100644 --- a/sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java +++ b/sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java @@ -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; } |