|
From: <mba...@us...> - 2007-02-25 15:51:17
|
Revision: 2033
http://svn.sourceforge.net/rubyeclipse/?rev=2033&view=rev
Author: mbarchfe
Date: 2007-02-25 07:51:04 -0800 (Sun, 25 Feb 2007)
Log Message:
-----------
return workingDirectoryPath only if the config attribute is not empty => the default working directory will be used
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractRubyLaunchConfigurationDelegate.java
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractRubyLaunchConfigurationDelegate.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractRubyLaunchConfigurationDelegate.java 2007-02-25 15:48:39 UTC (rev 2032)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/launching/AbstractRubyLaunchConfigurationDelegate.java 2007-02-25 15:51:04 UTC (rev 2033)
@@ -180,7 +180,7 @@
String path = configuration.getAttribute(
IRubyLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
(String) null);
- if (path != null) {
+ if (path != null && path.length() > 0) {
path = VariablesPlugin.getDefault().getStringVariableManager()
.performStringSubstitution(path);
return new Path(path);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|