|
From: <mba...@us...> - 2007-02-25 15:44:44
|
Revision: 2027
http://svn.sourceforge.net/rubyeclipse/?rev=2027&view=rev
Author: mbarchfe
Date: 2007-02-25 07:44:15 -0800 (Sun, 25 Feb 2007)
Log Message:
-----------
ensure that default working directory is used
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyArgumentsTab.java
Modified: trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyArgumentsTab.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyArgumentsTab.java 2007-02-25 15:43:09 UTC (rev 2026)
+++ trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyArgumentsTab.java 2007-02-25 15:44:15 UTC (rev 2027)
@@ -139,7 +139,7 @@
public boolean isValid(ILaunchConfiguration launchConfig) {
try {
String workingDirectory = launchConfig.getAttribute(RubyLaunchConfigurationAttribute.WORKING_DIRECTORY, "");
- if (workingDirectory.length() == 0) {
+ if (!useDefaultWorkingDirectoryButton.getSelection() && workingDirectory.length() == 0) {
setErrorMessage(RdtDebugUiMessages.LaunchConfigurationTab_RubyArguments_working_dir_error_message);
return false;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|