summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta1/distribution/all/src/main/release/launcher/README
blob: d651dfdeb734e0ae6647506b94e9b0d7689a8274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
The bin folder contains bat and shell scripts to help with using Tuscany. 
You can use the "tuscany.bat" script to start a standalone runtime and 
deploy your SCA contributions.

For example, change to the implementation-java-calculator sample included 
in the Tuscany distribution and enter the following command:

..\..\bin\tuscany.bat target\implementation-java-calculator.jar

The script also supports things such as using a Java remote debugger, 
for help enter use the "/?" parameter, eg:

..\..\bin\tuscany.bat /?

To simplify the use of the script add the absolute file path of the bin 
folder to your environment path:

set PATH=%PATH%;\Tuscany\tuscany-sca-2.0-M4\bin

and that enables running the script by just "tuscany", for example, in the 
implementation-java-calculator sample again you can enter:

tuscany target\implementation-java-calculator.jar

Tuscany developers may find it useful to add the script from their SVN checkout 
development build to their environment so as to start runtimes using their local
trunk build, for example: 

set PATH=%PATH%;\Tuscany\SVN\trunk\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT-dir\tuscany-sca-2.0-SNAPSHOT\bin