|
From: David C. <dc...@us...> - 2006-05-13 19:52:19
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5979/src/org/rubypeople/rdt/internal/debug/ui/launcher Modified Files: RubyApplicationShortcut.java RubyEnvironmentTab.java Log Message: Change the launch for tests and applciations to obey Run/Debug launching preferences. Index: RubyEnvironmentTab.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyEnvironmentTab.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** RubyEnvironmentTab.java 22 Feb 2006 21:05:37 -0000 1.23 --- RubyEnvironmentTab.java 13 May 2006 19:52:15 -0000 1.24 *************** *** 27,33 **** import org.eclipse.swt.widgets.TabItem; import org.rubypeople.rdt.core.IRubyProject; - import org.rubypeople.rdt.core.RubyCore; import org.rubypeople.rdt.internal.core.LoadpathEntry; - import org.rubypeople.rdt.internal.core.RubyModel; import org.rubypeople.rdt.internal.core.RubyModelManager; import org.rubypeople.rdt.internal.debug.ui.RdtDebugUiMessages; --- 27,31 ---- Index: RubyApplicationShortcut.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/launcher/RubyApplicationShortcut.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** RubyApplicationShortcut.java 18 Sep 2005 15:17:49 -0000 1.17 --- RubyApplicationShortcut.java 13 May 2006 19:52:15 -0000 1.18 *************** *** 15,18 **** --- 15,19 ---- import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; import org.eclipse.debug.core.ILaunchManager; + import org.eclipse.debug.ui.DebugUITools; import org.eclipse.debug.ui.ILaunchShortcut; import org.eclipse.jface.dialogs.ErrorDialog; *************** *** 70,74 **** ILaunchConfiguration config = findOrCreateLaunchConfiguration(rubyElement, mode); if (config != null) { ! config.launch(mode, null); } } --- 71,75 ---- ILaunchConfiguration config = findOrCreateLaunchConfiguration(rubyElement, mode); if (config != null) { ! DebugUITools.launch(config, mode); } } |