From 63b0ef81602c04d55bb9ebc9755022028541221e Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 21 Jul 2011 20:46:40 +0000 Subject: 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 --- .../legal-checks/src/test/java/itest/JarsInLICENSETestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java') 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; } -- cgit v1.2.3