diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-06 10:25:21 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-06 10:25:21 +0000 |
commit | a71010aa735fa85f0ff43e8130a625874c7723f1 (patch) | |
tree | 44edabed91a5451c6586b257d89e7ddc6b039c2b /java/sca/otest/newlayout | |
parent | 8f0f6bf0853af5919e3c36b3295d33ec436169f2 (diff) |
A debugging hint
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@822196 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/otest/newlayout')
-rw-r--r-- | java/sca/otest/newlayout/tuscany-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/java/sca/otest/newlayout/tuscany-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java b/java/sca/otest/newlayout/tuscany-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java index d9a0dc0ac7..8ceb44e976 100644 --- a/java/sca/otest/newlayout/tuscany-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java +++ b/java/sca/otest/newlayout/tuscany-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java @@ -29,6 +29,7 @@ import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.ContributionLocationHelper; import org.apache.tuscany.sca.node.Node; import org.apache.tuscany.sca.node.NodeFactory; +import org.apache.tuscany.sca.node.impl.NodeImpl; import client.RuntimeBridge; import client.TestConfiguration; @@ -80,9 +81,13 @@ public class TuscanyRuntimeBridge implements RuntimeBridge { node = launcher.createNode(testConfiguration.getComposite(), contributions); // Start the node node.start(); + + // For debugging + // print out the composites that have been read in success cases + // System.out.println(((NodeImpl)node).dumpDomainComposite()); } catch (Exception e) { System.out.println(e.getMessage()); - e.printStackTrace(); + e.printStackTrace(); throw e; } // end try |