From 6ec4eafe0cda08a7b3fb862aa4027e8ac280f832 Mon Sep 17 00:00:00 2001 From: slaws Date: Thu, 19 Nov 2009 10:42:06 +0000 Subject: Sort out the 1.x bundles and launcher manifests and the relationships between them. Step closer to getting 1.x and 2.x up together. Still getting NPE in 1.x on start. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882097 13f79535-47bb-0310-9956-ffa450edef68 --- .../1xlauncher/src/main/java/launcher/OneXLauncher.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sandbox/slaws/runtimecompat/1xlauncher/src/main/java') diff --git a/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java b/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java index 251e5f1ff6..215b211d13 100644 --- a/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java +++ b/sandbox/slaws/runtimecompat/1xlauncher/src/main/java/launcher/OneXLauncher.java @@ -26,8 +26,12 @@ import org.apache.tuscany.sca.node.SCANodeFactory; public class OneXLauncher { public static void main(String[] args) throws Exception { + OneXLauncher.launchNode(); + } + + public static void launchNode(){ SCANode node = SCANodeFactory.newInstance().createSCANode("Calculator.composite", - new SCAContribution("calculator", "../1xcalculator.jar")); + new SCAContribution("calculator", "../1xcalculator.jar")); node.start(); -- cgit v1.2.3