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

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

OPTIONS=

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