From 66e908deeb8a514ddaf7f43c1ad876eae326d7b9 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Fri, 2 Jul 2010 22:19:31 +0000 Subject: 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 --- sca-java-2.x/trunk/samples/launcher-shell/README | 2 +- sca-java-2.x/trunk/samples/launcher-shell/sca | 17 +++++++++++++++++ sca-java-2.x/trunk/samples/launcher-shell/sca-test | 16 ++++++++++++++++ .../trunk/samples/launcher-shell/sca-test-remote | 16 ++++++++++++++++ 4 files changed, 50 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x') diff --git a/sca-java-2.x/trunk/samples/launcher-shell/README b/sca-java-2.x/trunk/samples/launcher-shell/README index 2b5c62ce13..093138d3d5 100644 --- a/sca-java-2.x/trunk/samples/launcher-shell/README +++ b/sca-java-2.x/trunk/samples/launcher-shell/README @@ -6,7 +6,7 @@ start and stop SCA composites. To build the sample shell do this: mvn install -mvn dependency copy-dependencies +mvn dependency:copy-dependencies To run it: ./sca 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 -- cgit v1.2.3