mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
[164300] Patrick Juhl - Fix for unix (Parameters for port selection)
This commit is contained in:
parent
224d42c778
commit
f015f165f5
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
# Contributors:
|
||||
# IBM Corporation - initial API and implementation
|
||||
# Martin Oberhuber (Wind River) - Fix for solaris (Bourne Shell export statement)
|
||||
# Patrick Juhl - Fix for unix (Parameters for port selection)
|
||||
#*******************************************************************************
|
||||
# Shell script to start an RSE communications server
|
||||
# This script will start the datastore server listening on an available socket
|
||||
|
@ -16,6 +17,6 @@ serverpath=.;
|
|||
CLASSPATH=.:dstore_extra_server.jar:dstore_core.jar:dstore_miners.jar:clientserver.jar:$CLASSPATH;
|
||||
export serverpath CLASSPATH
|
||||
if [ $1 ]
|
||||
then java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -Dclient.username=$1 -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server 0 60000 &
|
||||
then java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -Dclient.username=$1 -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $1 &
|
||||
else java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server 0 60000 &
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue