From a71010aa735fa85f0ff43e8130a625874c7723f1 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 6 Oct 2009 10:25:21 +0000 Subject: A debugging hint git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@822196 13f79535-47bb-0310-9956-ffa450edef68 --- .../tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'java/sca/otest/newlayout/tuscany-test-runner/src/test') 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 -- cgit v1.2.3