diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-23 09:38:09 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-23 09:38:09 +0000 |
commit | 47d65de69223780c81f12260642182116cb4edd6 (patch) | |
tree | ef66d8375360d9563457f022e3fdfe0605db17d8 | |
parent | 719fe27e65588eeb2e4d34f349162d54a0b6bf92 (diff) |
TUSCANY-3097 don't process application composites of modules inside an EAR are processed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@787604 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/EarContributionProcessor.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/EarContributionProcessor.java b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/EarContributionProcessor.java index 32425e3299..64a8a92e01 100644 --- a/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/EarContributionProcessor.java +++ b/branches/sca-java-1.x/modules/contribution-jee/src/main/java/org/apache/tuscany/sca/contribution/jee/impl/EarContributionProcessor.java @@ -144,7 +144,11 @@ public class EarContributionProcessor implements PackageProcessor { List<URI> artifacts = archiveProcessor.getArtifacts(packageSourceURL, bin); bin.close(); for(URI artifact : artifacts) { - names.add(entry.getName()+"!/"+artifact); + // don't add in nested application composites + if ((artifact.toString().endsWith("ejb-jar.composite") == false) && + (artifact.toString().endsWith("web.composite") == false)) { + names.add(entry.getName()+"!/"+artifact); + } } } } |