|
From: <caw...@us...> - 2007-03-05 01:24:56
|
Revision: 2081
http://svn.sourceforge.net/rubyeclipse/?rev=2081&view=rev
Author: cawilliams
Date: 2007-03-04 17:24:39 -0800 (Sun, 04 Mar 2007)
Log Message:
-----------
add vm arguments to launches to sync STDOUT and STDERR which throws many people off. This is sort of experimental - RadRails does this, but I don't know if it has some unintended consequences....
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVM.java
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVM.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVM.java 2007-03-04 20:11:41 UTC (rev 2080)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVM.java 2007-03-05 01:24:39 UTC (rev 2081)
@@ -167,4 +167,14 @@
}
return null;
}
+
+
+ @Override
+ public String getVMArgs() {
+ String vmArgs = super.getVMArgs();
+ if (vmArgs == null) vmArgs = "";
+ else vmArgs += " ";
+ vmArgs += "-e STDOUT.sync=true -e STDERR.sync=true -e load(ARGV.shift)";
+ return vmArgs;
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|