summaryrefslogtreecommitdiffstats
path: root/java/sca/distribution/all/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-01-28 17:10:28 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-01-28 17:10:28 +0000
commitef41dc12b614ddbed91eda6fd655c7515d70f0f5 (patch)
tree59db66d993c02da8f13519cbc6a9866226ac2312 /java/sca/distribution/all/src
parent9e03a04923d65f9985badb997b62226e7a5d951e (diff)
Start adding the launcher to the distro to try it out, still very primitive and does't quite work yet
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@738544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/distribution/all/src')
-rw-r--r--java/sca/distribution/all/src/main/assembly/bin.xml2
-rw-r--r--java/sca/distribution/all/src/main/components/bin-launcher.xml41
-rw-r--r--java/sca/distribution/all/src/main/release/launcher/default.config3
-rw-r--r--java/sca/distribution/all/src/main/release/launcher/tuscany.bat6
4 files changed, 52 insertions, 0 deletions
diff --git a/java/sca/distribution/all/src/main/assembly/bin.xml b/java/sca/distribution/all/src/main/assembly/bin.xml
index 5db4ba65a5..2a8b628674 100644
--- a/java/sca/distribution/all/src/main/assembly/bin.xml
+++ b/java/sca/distribution/all/src/main/assembly/bin.xml
@@ -35,6 +35,8 @@
<componentDescriptor>../ejava/src/main/components/bin-samples.xml</componentDescriptor>
<componentDescriptor>../host-webapp/src/main/components/bin-samples.xml</componentDescriptor>
<componentDescriptor>../webservice/src/main/components/bin-samples.xml</componentDescriptor>
+ <componentDescriptor>../all/src/main/components/bin-launcher.xml</componentDescriptor>
+
<!--
<componentDescriptor>../manager/src/main/components/bin-samples.xml</componentDescriptor>
<componentDescriptor>../process/src/main/components/bin-samples.xml</componentDescriptor>
diff --git a/java/sca/distribution/all/src/main/components/bin-launcher.xml b/java/sca/distribution/all/src/main/components/bin-launcher.xml
new file mode 100644
index 0000000000..ae7aba79ca
--- /dev/null
+++ b/java/sca/distribution/all/src/main/components/bin-launcher.xml
@@ -0,0 +1,41 @@
+<!--
+ * 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.
+-->
+<component>
+ <fileSets>
+ <fileSet>
+ <directory>src/main/release/launcher</directory>
+ <outputDirectory>bin</outputDirectory>
+ <includes>
+ </includes>
+ </fileSet>
+ </fileSets>
+
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>bin</outputDirectory>
+ <unpack>false</unpack>
+ <includes>
+ <include>org.apache.tuscany.sca:tuscany-launcher</include>
+ </includes>
+ <outputFileNameMapping>launcher.jar</outputFileNameMapping>
+ </dependencySet>
+
+ </dependencySets>
+
+</component>
diff --git a/java/sca/distribution/all/src/main/release/launcher/default.config b/java/sca/distribution/all/src/main/release/launcher/default.config
new file mode 100644
index 0000000000..fd6d9e9dd6
--- /dev/null
+++ b/java/sca/distribution/all/src/main/release/launcher/default.config
@@ -0,0 +1,3 @@
+classpath=../modules/**
+mainClass=org.apache.tuscany.sca.node.launcher.NodeMain2
+
diff --git a/java/sca/distribution/all/src/main/release/launcher/tuscany.bat b/java/sca/distribution/all/src/main/release/launcher/tuscany.bat
new file mode 100644
index 0000000000..823eea56e2
--- /dev/null
+++ b/java/sca/distribution/all/src/main/release/launcher/tuscany.bat
@@ -0,0 +1,6 @@
+@echo off
+
+REM bla
+
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y -jar launcher.jar %1 %2 %3 %4 %5 %6 %7
+REM java -jar launcher.jar %1 %2 %3 %4 %5 %6 %7