|
From: <caw...@us...> - 2006-12-29 15:06:31
|
Revision: 1742
http://svn.sourceforge.net/rubyeclipse/?rev=1742&view=rev
Author: cawilliams
Date: 2006-12-29 07:06:29 -0800 (Fri, 29 Dec 2006)
Log Message:
-----------
add more messages into build process so it's easier to tell where we are at any given time (which can help me, because I think the build is hanging or very slow with the code duplication checking I added on very large projects - like the ruby lib).
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/AbstractRdtCompiler.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/AbstractRdtCompiler.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/AbstractRdtCompiler.java 2006-12-28 12:32:18 UTC (rev 1741)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/builder/AbstractRdtCompiler.java 2006-12-29 15:06:29 UTC (rev 1742)
@@ -44,15 +44,17 @@
analyzeFiles();
List list = getFilesToCompile();
int fileCount = list.size();
- monitor.beginTask("Building "+project.getName() + "...", fileCount * (compilers.size() + 2));
+ monitor.beginTask("Building "+project.getName() + "...", fileCount * (compilers.size() + 3));
monitor.subTask("Removing Markers...");
removeMarkers(markerManager);
monitor.worked(fileCount);
+ monitor.subTask("Removing Search Indices...");
flushIndexEntries(symbolIndex);
monitor.worked(fileCount);
// FIXME Create warning markers for these duplicate code matches
// TODO Refactor out this stuff into a compiler, only visit files we've collected
+ monitor.subTask("Finding duplicate code...");
try {
Iterator<Match> matches = CPD.findMatches(project);
StringBuffer buffer = new StringBuffer();
@@ -64,7 +66,8 @@
} catch (IOException e) {
e.printStackTrace();
}
-
+ monitor.worked(fileCount);
+
compileFiles(list, monitor);
monitor.done();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|