summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/DeployedComposite.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/DeployedComposite.java b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/DeployedComposite.java
index ade7284628..fb40980d04 100644
--- a/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/DeployedComposite.java
+++ b/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/DeployedComposite.java
@@ -92,6 +92,8 @@ public class DeployedComposite {
contributions.add(contribution);
contributions.get(0).getDeployables().clear();
contributions.get(0).getDeployables().add(composite);
+
+ contributions.addAll(dependedOnContributions);
Map<QName, List<String>> bs = new HashMap<QName, List<String>>();
if (endpointsIncludeDomainName) {
@@ -99,7 +101,7 @@ public class DeployedComposite {
}
Monitor monitor = deployer.createMonitor();
- builtComposite = deployer.build(contributions, dependedOnContributions, bs, monitor);
+ builtComposite = deployer.build(contributions, contributions, bs, monitor);
monitor.analyzeProblems();
// TODO: Ideally deployer.build would set the name and uri to what this needs