mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +02:00
applying patch from Mike Berger to turn on spiriting
This commit is contained in:
parent
9fd22773f3
commit
6012d0059d
7 changed files with 11 additions and 11 deletions
|
@ -47,7 +47,7 @@ else
|
|||
{
|
||||
print("success\n");
|
||||
|
||||
system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||
system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||
1;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -6,4 +6,4 @@ export serverpath=.;
|
|||
export PATH=/usr/java131/jre/bin:$PATH
|
||||
export CLASSPATH=/usr/java131/jre/lib/rt.jar:/usr/jdk_base/lib/classes.zip:$CLASSPATH
|
||||
export CLASSPATH=.:dstore_extra_server.jar:dstore_core.jar:dstore_miners.jar:clientserver.jar:$CLASSPATH;
|
||||
java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false com.ibm.etools.systems.dstore.core.server.Server 0 60000 &
|
||||
java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -DDSTORE_SPIRIT_ON=true com.ibm.etools.systems.dstore.core.server.Server 0 60000 &
|
||||
|
|
|
@ -55,7 +55,7 @@ else
|
|||
$suOptions="-";
|
||||
}
|
||||
|
||||
system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||
system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||
1;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -32,17 +32,17 @@ if (!defined($packaged_as))
|
|||
|
||||
if (!defined($timeout))
|
||||
{
|
||||
system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH org.eclipse.dstore.core.server.Server $port");
|
||||
system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $port");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!defined($clientUserID))
|
||||
{
|
||||
system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH org.eclipse.dstore.core.server.Server $port $timeout");
|
||||
system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $port $timeout");
|
||||
}
|
||||
else
|
||||
{
|
||||
system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH -Dclient.username=$clientUserID org.eclipse.dstore.core.server.Server $port $timeout");
|
||||
system("java -DA_PLUGIN_PATH=\$A_PLUGIN_PATH -Dclient.username=$clientUserID -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $port $timeout");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ else
|
|||
$suOptions="-";
|
||||
}
|
||||
|
||||
system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||
system("su $suOptions $userIN -c '$javaExe -cp $classpath -DA_PLUGIN_PATH=$pathIN -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'");
|
||||
1;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
export serverpath=.;
|
||||
export CLASSPATH=.:dstore_extra_server.jar:dstore_core.jar:dstore_miners.jar:clientserver.jar:$CLASSPATH;
|
||||
if [ $1 ]
|
||||
then java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -Dclient.username=$1 org.eclipse.dstore.core.server.Server 0 60000 &
|
||||
else java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false 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 0 60000 &
|
||||
else java -DA_PLUGIN_PATH=$serverpath -DDSTORE_TRACING_ON=false -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server 0 60000 &
|
||||
fi
|
||||
|
|
|
@ -12,12 +12,12 @@ if xxx%3 == xxx goto runNoTicket
|
|||
|
||||
@echo on
|
||||
|
||||
java -DA_PLUGIN_PATH=%A_PLUGIN_PATH% org.eclipse.dstore.core.server.Server %PORT% %TIMEOUT% %TICKET%
|
||||
java -DA_PLUGIN_PATH=%A_PLUGIN_PATH% -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server %PORT% %TIMEOUT% %TICKET%
|
||||
goto done
|
||||
|
||||
:runNoTicket
|
||||
@echo on
|
||||
java -DA_PLUGIN_PATH=%A_PLUGIN_PATH% org.eclipse.dstore.core.server.Server %PORT% %TIMEOUT%
|
||||
java -DA_PLUGIN_PATH=%A_PLUGIN_PATH% -DDSTORE_SPIRIT_ON=true org.eclipse.dstore.core.server.Server %PORT% %TIMEOUT%
|
||||
goto done
|
||||
|
||||
:usage
|
||||
|
|
Loading…
Add table
Reference in a new issue