summaryrefslogtreecommitdiffstats
path: root/sdo-java/branches/sdo-1.1-incubating/distribution/src/main/release/bin/samples/runsamples.bat
diff options
context:
space:
mode:
Diffstat (limited to 'sdo-java/branches/sdo-1.1-incubating/distribution/src/main/release/bin/samples/runsamples.bat')
-rw-r--r--sdo-java/branches/sdo-1.1-incubating/distribution/src/main/release/bin/samples/runsamples.bat26
1 files changed, 26 insertions, 0 deletions
diff --git a/sdo-java/branches/sdo-1.1-incubating/distribution/src/main/release/bin/samples/runsamples.bat b/sdo-java/branches/sdo-1.1-incubating/distribution/src/main/release/bin/samples/runsamples.bat
new file mode 100644
index 0000000000..710a5c4985
--- /dev/null
+++ b/sdo-java/branches/sdo-1.1-incubating/distribution/src/main/release/bin/samples/runsamples.bat
@@ -0,0 +1,26 @@
+REM Licensed to the Apache Software Foundation (ASF) under one
+REM or more contributor license agreements. See the NOTICE file
+REM distributed with this work for additional information
+REM regarding copyright ownership. The ASF licenses this file
+REM to you under the Apache License, Version 2.0 (the
+REM "License"); you may not use this file except in compliance
+REM with the License. You may obtain a copy of the License at
+REM
+REM http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing,
+REM software distributed under the License is distributed on an
+REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+REM KIND, either express or implied. See the License for the
+REM specific language governing permissions and limitations
+REM under the License.
+@echo off
+set BINARY_BASE=..
+set RELEASE=1.1-incubating
+echo SDO Sample Programs. Running with BINARY_BASE set to %BINARY_BASE%
+echo If this script fails with ClassDefNotFound errors you probably need to
+echo edit the BINARY_BASE variable in the script to point to the location
+echo where you unpacked the Tuscany SDO binary distribution
+set LIB=%BINARY_BASE%\lib
+set CLASSPATH=%LIB%\sample-sdo-%RELEASE%.jar;%LIB%\tuscany-sdo-api-r2.1-%RELEASE%.jar;%LIB%\tuscany-sdo-lib-%RELEASE%.jar;%LIB%\tuscany-sdo-impl-%RELEASE%.jar;%LIB%\tuscany-sdo-tools-%RELEASE%.jar;%LIB%\codegen-ecore-2.2.3.jar;%LIB%\codegen-2.2.3.jar;%LIB%\ecore-2.2.3.jar;%LIB%\ecore-change-2.2.3.jar;%LIB%\ecore-xmi-2.2.3.jar;%LIB%\common-2.2.3.jar;%LIB%\xsd-2.2.3.jar;%LIB%\stax-api-1.0.1.jar;%LIB%\wstx-asl-3.2.1.jar
+java org.apache.tuscany.samples.sdo.ExecuteSamples \ No newline at end of file