summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/branches/2.0-Beta3/testing/itest/distribution/legal-checks/src/test/java/itest/JarsInLICENSETestCase.java2
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;
}