|
From: Markus B. <mba...@us...> - 2005-10-04 22:33:03
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18644/src/org/rubypeople/rdt/internal/launching Modified Files: Tag: SRB_0-6-1 RubyApplicationLaunchConfigurationDelegate.java Log Message: fixed problems with finding free ports. Now the procedure is equal for starting from shortcut and from the run configuration dialog. The port is added as attribute to the launch. Index: RubyApplicationLaunchConfigurationDelegate.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RubyApplicationLaunchConfigurationDelegate.java,v retrieving revision 1.11 retrieving revision 1.11.2.1 diff -C2 -d -r1.11 -r1.11.2.1 *** RubyApplicationLaunchConfigurationDelegate.java 25 Sep 2005 16:49:46 -0000 1.11 --- RubyApplicationLaunchConfigurationDelegate.java 4 Oct 2005 22:32:51 -0000 1.11.2.1 *************** *** 26,36 **** if (mode.equals("debug")) { ! debuggerRunner.run( this.wrapConfiguration(configuration), launch); } else { ! interpreterRunner.run( this.wrapConfiguration(configuration), launch); } } ! protected InterpreterRunnerConfiguration wrapConfiguration(ILaunchConfiguration configuration) { return new InterpreterRunnerConfiguration(configuration) ; } --- 26,36 ---- if (mode.equals("debug")) { ! debuggerRunner.run( this.wrapConfigurationAndHandleLaunch(configuration, launch), launch); } else { ! interpreterRunner.run( this.wrapConfigurationAndHandleLaunch(configuration, launch), launch); } } ! protected InterpreterRunnerConfiguration wrapConfigurationAndHandleLaunch(ILaunchConfiguration configuration, ILaunch launch) { return new InterpreterRunnerConfiguration(configuration) ; } |