|
From: David C. <dc...@us...> - 2005-10-02 21:07:24
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8729/src Modified Files: RubyParserCmd.java Log Message: Refactored RubyBuilder into several smaller classes. Wrote UTs for a few of them. Began work on a SymbolIndex. Index: RubyParserCmd.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core.tests/src/RubyParserCmd.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RubyParserCmd.java 6 Sep 2005 21:40:56 -0000 1.2 --- RubyParserCmd.java 1 Oct 2005 23:00:54 -0000 1.3 *************** *** 13,16 **** --- 13,17 ---- import org.jruby.ast.Node; import org.jruby.lexer.yacc.SyntaxException; + import org.rubypeople.eclipse.shams.resources.ShamFile; import org.rubypeople.rdt.internal.core.DefaultWorkingCopyOwner; import org.rubypeople.rdt.internal.core.RubyProject; *************** *** 102,106 **** RubyParser parser = new RubyParser(new RdtWarnings()); try { ! Node node = parser.parse(file, new FileReader(file)); RubyScriptElementInfo unitInfo = new RubyScriptElementInfo() ; RubyScript script = new RubyScript(new RubyProject(), null, file, DefaultWorkingCopyOwner.PRIMARY ) ; --- 103,107 ---- RubyParser parser = new RubyParser(new RdtWarnings()); try { ! Node node = parser.parse(new ShamFile(file), new FileReader(file)); RubyScriptElementInfo unitInfo = new RubyScriptElementInfo() ; RubyScript script = new RubyScript(new RubyProject(), null, file, DefaultWorkingCopyOwner.PRIMARY ) ; |