|
From: <caw...@us...> - 2007-09-14 21:30:31
|
Revision: 3184
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3184&view=rev
Author: cawilliams
Date: 2007-09-14 14:30:29 -0700 (Fri, 14 Sep 2007)
Log Message:
-----------
add a new JRuby VM Type, fix invocation of jruby.bat with -e args
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/RiDocHoverProvider.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java 2007-09-14 16:09:55 UTC (rev 3183)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/infoviews/RIView.java 2007-09-14 21:30:29 UTC (rev 3184)
@@ -361,7 +361,7 @@
List<String> line = new ArrayList<String>();
IVMInstall vm = RubyRuntime.getDefaultVMInstall();
if (vm == null) return "";
- File executable = StandardVMType.findRubyExecutable(vm.getInstallLocation());
+ File executable = vm.getVMInstallType().findExecutable(vm.getInstallLocation());
if (executable.getName().contains("rubyw")) {
String name = executable.getName();
name = name.replace("rubyw", "ruby");
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/RiDocHoverProvider.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/RiDocHoverProvider.java 2007-09-14 16:09:55 UTC (rev 3183)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/text/ruby/hover/RiDocHoverProvider.java 2007-09-14 21:30:29 UTC (rev 3184)
@@ -110,7 +110,7 @@
List<String> line = new ArrayList<String>();
IVMInstall vm = RubyRuntime.getDefaultVMInstall();
if (vm == null) return "";
- File executable = StandardVMType.findRubyExecutable(vm.getInstallLocation());
+ File executable = vm.getVMInstallType().findExecutable(vm.getInstallLocation());
if (executable.getName().contains("rubyw")) {
String name = executable.getName();
name = name.replace("rubyw", "ruby");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|