tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1126330 - /tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
Date Mon, 23 May 2011 06:32:28 GMT
Author: antelder
Date: Mon May 23 06:32:28 2011
New Revision: 1126330

URL: http://svn.apache.org/viewvc?rev=1126330&view=rev
Log:
Set the compsites contribution URI after its read

Modified:
    tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java?rev=1126330&r1=1126329&r2=1126330&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/domain-node/src/main/java/org/apache/tuscany/sca/impl/NodeImpl.java
Mon May 23 06:32:28 2011
@@ -199,6 +199,7 @@ public class NodeImpl implements Node {
         if (composite.getURI() == null || composite.getURI().length() < 1) {
             composite.setURI(composite.getName().getLocalPart() + ".composite");
         }
+        composite.setContributionURI(ic.getURI());
         ic.getAdditionalDeployables().put(composite.getURI(), Utils.modelToXML(composite,
false, extensionPointRegistry));
         domainRegistry.updateInstalledContribution(ic);
         return composite.getURI();



Mime
View raw message