summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/samples/launcher-shell/sca
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-07-02 22:19:31 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-07-02 22:19:31 +0000
commit66e908deeb8a514ddaf7f43c1ad876eae326d7b9 (patch)
treeca1f96c23408baad45a6a9e867276e3a67bb1c7a /sca-java-2.x/trunk/samples/launcher-shell/sca
parent1890fd58ebfb9e82157337fe312842b22cd97fb1 (diff)
Fix build instructions, add missing license header in script.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-xsca-java-2.x/trunk/samples/launcher-shell/sca17
-rw-r--r--sca-java-2.x/trunk/samples/launcher-shell/sca-test16
-rw-r--r--sca-java-2.x/trunk/samples/launcher-shell/sca-test-remote16
3 files changed, 49 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/samples/launcher-shell/sca b/sca-java-2.x/trunk/samples/launcher-shell/sca
index 2c049721d4..919f2f9273 100755
--- a/sca-java-2.x/trunk/samples/launcher-shell/sca
+++ b/sca-java-2.x/trunk/samples/launcher-shell/sca
@@ -1,2 +1,19 @@
#!/bin/bash
+# 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
+
java -classpath `find target -name "*.jar" | awk '{ printf "%s:", $1 }'` sample.Shell
+
diff --git a/sca-java-2.x/trunk/samples/launcher-shell/sca-test b/sca-java-2.x/trunk/samples/launcher-shell/sca-test
index eb6f059a3d..66c760b937 100644
--- a/sca-java-2.x/trunk/samples/launcher-shell/sca-test
+++ b/sca-java-2.x/trunk/samples/launcher-shell/sca-test
@@ -1,3 +1,19 @@
+# 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
+
start foo c1 ../contribution-implementation-java-calculator/target/classes
stop foo
start foo c1 ../contribution-implementation-java-calculator/target/classes
diff --git a/sca-java-2.x/trunk/samples/launcher-shell/sca-test-remote b/sca-java-2.x/trunk/samples/launcher-shell/sca-test-remote
index 32838300bf..fd7bd5766a 100644
--- a/sca-java-2.x/trunk/samples/launcher-shell/sca-test-remote
+++ b/sca-java-2.x/trunk/samples/launcher-shell/sca-test-remote
@@ -1,3 +1,19 @@
+# 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
+
start foo c1 http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar
stop foo
start foo c1 http://people.apache.org/~jsdelfino/tuscany/java/test/sample-contribution-binding-ws-calculator.jar