You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2009/04/08 02:29:52 UTC

svn commit: r763053 - in /tuscany/java/sca/samples: dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsNode.java dosgi-calculator/src/test/java/calculator/dosgi/test/CalculatorNode.java

Author: rfeng
Date: Wed Apr  8 00:29:52 2009
New Revision: 763053

URL: http://svn.apache.org/viewvc?rev=763053&view=rev
Log:
Add two test nodes to launcher the bundles

Added:
    tuscany/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsNode.java
    tuscany/java/sca/samples/dosgi-calculator/src/test/java/calculator/dosgi/test/CalculatorNode.java

Added: tuscany/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsNode.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsNode.java?rev=763053&view=auto
==============================================================================
--- tuscany/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsNode.java (added)
+++ tuscany/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsNode.java Wed Apr  8 00:29:52 2009
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package calculator.dosgi.operations.test;
+
+import org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher;
+
+/**
+ *
+ */
+public class OperationsNode {
+
+    /**
+     * @param args
+     */
+    public static void main(String[] args) {
+        if (args.length == 0) {
+            args = new String[] {"-bundles"};
+        }
+        try {
+            NodeLauncher.main(args);
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+
+}

Added: tuscany/java/sca/samples/dosgi-calculator/src/test/java/calculator/dosgi/test/CalculatorNode.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/dosgi-calculator/src/test/java/calculator/dosgi/test/CalculatorNode.java?rev=763053&view=auto
==============================================================================
--- tuscany/java/sca/samples/dosgi-calculator/src/test/java/calculator/dosgi/test/CalculatorNode.java (added)
+++ tuscany/java/sca/samples/dosgi-calculator/src/test/java/calculator/dosgi/test/CalculatorNode.java Wed Apr  8 00:29:52 2009
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package calculator.dosgi.test;
+
+import org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher;
+
+/**
+ *
+ */
+public class CalculatorNode {
+
+    /**
+     * @param args
+     */
+    public static void main(String[] args) {
+        if (args.length == 0) {
+            args = new String[] {"-bundles"};
+        }
+        try {
+            NodeLauncher.main(args);
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+
+}