|
From: Markus B. <mba...@us...> - 2005-09-25 16:49:53
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25000/src/org/rubypeople/rdt/internal/launching Modified Files: RdtLaunchingMessages.properties RubyApplicationLaunchConfigurationDelegate.java Log Message: fixed rdoc launch error in linux, use RubyInterpreter.exec for launching the interpreter for rdoc, externalized messages Index: RdtLaunchingMessages.properties =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RdtLaunchingMessages.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RdtLaunchingMessages.properties 5 Mar 2005 15:13:34 -0000 1.3 --- RdtLaunchingMessages.properties 25 Sep 2005 16:49:46 -0000 1.4 *************** *** 10,12 **** RdtLaunchingPlugin.internalErrorOccurred=Internal error occurred RdtLaunchingPlugin.processTerminatedBecauseNoDebuggerConnection=Ruby process terminated because no connection to the debugger could me made ! RdtLaunchingPlugin.interpreterNotFound=Please check the location of the following interpreter: {0} \ No newline at end of file --- 10,14 ---- RdtLaunchingPlugin.internalErrorOccurred=Internal error occurred RdtLaunchingPlugin.processTerminatedBecauseNoDebuggerConnection=Ruby process terminated because no connection to the debugger could me made ! RdtLaunchingPlugin.interpreterNotFound=Please check the location of the following interpreter: {0} ! RdtLaunchingPlugin.noInterpreterSelectedTitle=No interpreter selected ! RdtLaunchingPlugin.noInterpreterSelected=There is currently no ruby interpreter defined. Use preferences to define and select the active interpreter. \ No newline at end of file Index: RubyApplicationLaunchConfigurationDelegate.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RubyApplicationLaunchConfigurationDelegate.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** RubyApplicationLaunchConfigurationDelegate.java 18 Jan 2005 21:59:29 -0000 1.10 --- RubyApplicationLaunchConfigurationDelegate.java 25 Sep 2005 16:49:46 -0000 1.11 *************** *** 22,26 **** public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException { if (RubyRuntime.getDefault().getSelectedInterpreter() == null) { ! throw new CoreException(new Status(IStatus.ERROR, RdtLaunchingPlugin.PLUGIN_ID, IStatus.OK, "You must define an interpreter before running Ruby Applications.", null)); } --- 22,26 ---- public void launch(ILaunchConfiguration configuration, String mode, ILaunch launch, IProgressMonitor monitor) throws CoreException { if (RubyRuntime.getDefault().getSelectedInterpreter() == null) { ! throw new CoreException(new Status(IStatus.ERROR, RdtLaunchingPlugin.PLUGIN_ID, IStatus.OK, RdtLaunchingMessages.getString("RdtLaunchingPlugin.noInterpreterSelected"), null)); } |