Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e1a87d418242c2318305ff23a158bc4099850515 (plain) (blame)
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
# ECF Server Start Script
#
RP=../../../plugins
CURRENT=`pwd`
cd ${CURRENT}
# Relative path for accessing plugins
ECF=${RP}/org.eclipse.ecf_0.9.3/ecf.jar
UI=${RP}/org.eclipse.ecf.ui_0.9.3/ui.jar
SDO=${RP}/org.eclipse.ecf.sdo_0.9.3/ecf.sdo.jar
DS=${RP}/org.eclipse.ecf.datashare_0.9.3/datashare.jar
DSP=${RP}/org.eclipse.ecf.provider.datashare_0.9.3/dsprovider.jar
FS=${RP}/org.eclipse.ecf.fileshare_0.9.3/fileshare.jar
FSP=${RP}/org.eclipse.ecf.provider.fileshare_0.9.3/fsprovider.jar
PROVIDER=${RP}/org.eclipse.ecf.provider_0.9.3/provider.jar
PRESENCE=${RP}/org.eclipse.ecf.presence_0.9.3/presence.jar
GED=${RP}/org.eclipse.ecf.example.sdo.gefeditor_0.9.3/editor.jar
ED=${RP}/org.eclipse.ecf.example.sdo.editor_0.9.3/editor.jar
LIBRARY=${RP}/org.eclipse.ecf.example.sdo.library_0.9.3/runtime/org.eclipse.ecf.example.library.jar
DISCOVERY=${RP}/org.eclipse.ecf.discovery_0.9.3/discovery.jar
HELLO=${RP}/org.eclipse.ecf.example.hello_0.9.3/hello.jar
COLLAB=${RP}/org.eclipse.ecf.example.collab_0.9.3/client.jar
CED=${RP}/org.eclipse.ecf.example.collab.editor_0.9.3/collabeditor.jar

CP="../lib/core.jar:../lib/runtime.jar:../lib/osgi.jar:${ECF}:${UI}:${SDO}:${PROVIDER}:${PRESENCE}:${GED}:${ED}:${LIBRARY}:${DS}:${DSP}:${FS}:${FSP}:${HELLO}:${DISCOVERY}:${COLLAB}:${CED}:."

TRACE="-Dorg.eclipse.ecf.Trace -Dorg.eclipse.ecf.provider.Trace" 

OPTIONS=${TRACE}

MAINCLASS=org.eclipse.ecf.provider.app.ServerApplication
ARGS="-c ../conf/server.xml $*"

# Start server
echo "Starting server with options: ${OPTIONS} and args: ${ARGS}"
# java -cp ${CP} ${OPTIONS} ${MAINCLASS} ${ARGS} 
java -cp ${CP} ${OPTIONS} ${MAINCLASS} ${ARGS}

Back to the top