|
From: Markus B. <mba...@us...> - 2005-10-04 22:27:25
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17331/src/org/rubypeople/rdt/internal/launching Modified Files: Tag: SRB_0-6-1 InterpreterRunnerConfiguration.java Log Message: fixed error in test::unit launch from Run>Run..>TestUnit>New. working may be null but not File("") Index: InterpreterRunnerConfiguration.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/InterpreterRunnerConfiguration.java,v retrieving revision 1.13 retrieving revision 1.13.2.1 diff -C2 -d -r1.13 -r1.13.2.1 *** InterpreterRunnerConfiguration.java 25 Sep 2005 17:57:01 -0000 1.13 --- InterpreterRunnerConfiguration.java 4 Oct 2005 22:27:17 -0000 1.13.2.1 *************** *** 70,74 **** RdtLaunchingPlugin.log(e); } ! return new File(file); } --- 70,76 ---- RdtLaunchingPlugin.log(e); } ! // it is valid not to specify a working directroy by returning null ! // whereas new File("") would specify an invalid directory ! return file == "" ? null : new File(file); } |