aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/src
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-05-01 19:47:43 +0000
committerjhugunin <jhugunin>2003-05-01 19:47:43 +0000
commitaebd6651d39ba218431cd860d469ceb3d8063f9b (patch)
tree8fe910169b2c45c0cc8349c1d0d2a4e6fa782fec /org.aspectj.ajdt.core/src
parent7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d (diff)
downloadaspectj-aebd6651d39ba218431cd860d469ceb3d8063f9b.tar.gz
aspectj-aebd6651d39ba218431cd860d469ceb3d8063f9b.zip
more progress messages for ajde
Diffstat (limited to 'org.aspectj.ajdt.core/src')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
index 791348519..f38f4451d 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
@@ -257,6 +257,7 @@ public class AjBuildManager {
public boolean weaveAndGenerateClassFiles() throws IOException {
handler.handleMessage(MessageUtil.info("weaving"));
if (progressListener != null) progressListener.setText("weaving aspects");
+ bcelWeaver.setProgressListener(progressListener, 0.5, 0.5/state.addedClassFiles.size());
//!!! doesn't provide intermediate progress during weaving
// XXX add all aspects even during incremental builds?
addAspectClassFilesToWeaver(state.addedClassFiles);
@@ -402,6 +403,7 @@ public class AjBuildManager {
if (progressListener != null) {
compiledCount++;
progressListener.setProgress((compiledCount/2.0)/sourceFileCount);
+ progressListener.setText("compiled: " + new String(compilationResult.getFileName()));
}
if (compilationResult.hasProblems() || compilationResult.hasTasks()) {