|
From: Markus B. <mba...@us...> - 2005-10-23 19:38:05
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1298/src/org/rubypeople/rdt/core Modified Files: RubyCore.java Log Message: stopped updateProjects in start method, because if there are syntax errors, that breaks RDT altogether (perspective can't open) it can also be long running, therefore we must search for a better place to call updateProjects (or start a background job here) Index: RubyCore.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/RubyCore.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** RubyCore.java 23 Oct 2005 00:03:16 -0000 1.22 --- RubyCore.java 23 Oct 2005 19:37:57 -0000 1.23 *************** *** 221,225 **** IndexUpdater indexUpdater = new IndexUpdater(symbolIndex); MassIndexUpdater massUpdater = new MassIndexUpdater(indexUpdater); ! massUpdater.updateProjects(Arrays.asList(getRubyProjects())); } --- 221,226 ---- IndexUpdater indexUpdater = new IndexUpdater(symbolIndex); MassIndexUpdater massUpdater = new MassIndexUpdater(indexUpdater); ! // TODO: move away from start method: long running, syntax errors can occur ! //massUpdater.updateProjects(Arrays.asList(getRubyProjects())); } |