|
From: <caw...@us...> - 2007-07-17 18:55:56
|
Revision: 2773
http://svn.sourceforge.net/rubyeclipse/?rev=2773&view=rev
Author: cawilliams
Date: 2007-07-17 11:55:52 -0700 (Tue, 17 Jul 2007)
Log Message:
-----------
whenever running anything, log the command line as info.
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/LaunchingPlugin.java
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractVMRunner.java
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/LaunchingPlugin.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/LaunchingPlugin.java 2007-07-17 16:42:38 UTC (rev 2772)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/LaunchingPlugin.java 2007-07-17 18:55:52 UTC (rev 2773)
@@ -849,4 +849,8 @@
return null;
}
}
+
+ public static void info(String string) {
+ log(new Status(IStatus.INFO, PLUGIN_ID, -1, string, null));
+ }
}
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractVMRunner.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractVMRunner.java 2007-07-17 16:42:38 UTC (rev 2772)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractVMRunner.java 2007-07-17 18:55:52 UTC (rev 2773)
@@ -22,6 +22,7 @@
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.model.IProcess;
import org.rubypeople.rdt.internal.launching.LaunchingMessages;
+import org.rubypeople.rdt.internal.launching.LaunchingPlugin;
/**
* Abstract implementation of a VM runner.
@@ -67,7 +68,7 @@
* @see DebugPlugin#exec(String[], File, String[])
*/
protected Process exec(String[] cmdLine, File workingDirectory, String[] envp) throws CoreException {
-// LaunchingPlugin.debug("Starting: " + getCmdLineAsString(cmdLine)) ;
+ LaunchingPlugin.info("Starting: " + getCmdLineAsString(cmdLine)) ;
return DebugPlugin.exec(cmdLine, workingDirectory, envp);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|