1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Use globbing to determine launcher version. Disable debugging by

default.

Change-Id: I0518305f266e4500c4067505b862b41bde1d115b
Signed-off-by: Watson, Gregory <g.watson@computer.org>
This commit is contained in:
Watson, Gregory 2017-01-18 14:25:07 -05:00
parent df4fb93a5a
commit 36fb7217a5
2 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ do_download() {
dd of=$proxytmp ibs=680 count=$1
IFS= read -r last
echo "$last" >> $proxytmp
base64 --decode < $proxytmp | tar zxf - > /dev/null 2>&1
base64 --decode < $proxytmp | (cd $installdir && tar zxvf -) > /dev/null 2>&1
if test $? -eq 0; then
echo ok
else
@ -83,7 +83,7 @@ do_download() {
start_server() {
#debugoptions="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044,quiet=y"
java -cp $plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar \
java -cp $plugins/org.eclipse.equinox.launcher_1.*.jar \ # use globbing to find launcher version
$debugoptions \
org.eclipse.equinox.launcher.Main \
-application org.eclipse.remote.proxy.server.core.application \

View file

@ -353,7 +353,7 @@ public class StreamChannelManager implements Runnable {
private Sender sender;
private Receiver receiver;
private boolean debug = true;
private boolean debug = false;
public StreamChannelManager(InputStream in, OutputStream out) {
sender = new Sender(new BufferedOutputStream(out));