|
From: David C. <dc...@us...> - 2005-10-16 17:29:32
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12800/src/org/rubypeople/rdt/core Modified Files: RubyCore.java Log Message: Index all projects on plugin (eclipse) start. Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** RubyCore.java 13 Oct 2005 01:00:35 -0000 1.16 --- RubyCore.java 16 Oct 2005 17:29:21 -0000 1.17 *************** *** 1,6 **** --- 1,17 ---- + /* + * Author: David Corbin + * + * Copyright (c) 2005 RubyPeople. + * + * This file is part of the Ruby Development Tools (RDT) plugin for eclipse. + * RDT is subject to the "Common Public License (CPL) v 1.0". You may not use + * RDT except in compliance with the License. For further information see + * org.rubypeople.rdt/rdt.license. + */ package org.rubypeople.rdt.core; import java.io.File; import java.util.ArrayList; + import java.util.Arrays; import java.util.List; *************** *** 32,35 **** --- 43,48 ---- import org.rubypeople.rdt.internal.core.RubyProject; import org.rubypeople.rdt.internal.core.RubyScript; + import org.rubypeople.rdt.internal.core.builder.IndexUpdater; + import org.rubypeople.rdt.internal.core.builder.MassIndexUpdater; import org.rubypeople.rdt.internal.core.parser.RubyParser; import org.rubypeople.rdt.internal.core.symbols.SymbolIndex; *************** *** 197,200 **** --- 210,216 ---- RubyModelManager.VERBOSE = modelManagerOption == null ? false : rubyParserOption.equalsIgnoreCase("true"); + IndexUpdater indexUpdater = new IndexUpdater(symbolIndex); + MassIndexUpdater massUpdater = new MassIndexUpdater(indexUpdater); + massUpdater.update(Arrays.asList(getRubyProjects())); } |