]> source.dussan.org Git - aspectj.git/commitdiff
make timers non-periodic under AJDT
authoraclement <aclement>
Fri, 13 Nov 2009 20:30:13 +0000 (20:30 +0000)
committeraclement <aclement>
Fri, 13 Nov 2009 20:30:13 +0000 (20:30 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java

index 46aacd01f389dba9280a2b086dad1bb119a18c1e..70addfa6649502048b5d6bae45d7c5eab5f9fe72 100644 (file)
@@ -385,7 +385,9 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour
                        }
                        ret = !handler.hasErrors();
                        if (getBcelWorld() != null) {
-                               getBcelWorld().tidyUp();
+                               BcelWorld bcelWorld = getBcelWorld();
+                               bcelWorld.reportTimers();
+                               bcelWorld.tidyUp();
                        }
                        if (getWeaver() != null) {
                                getWeaver().tidyUp();
@@ -825,7 +827,7 @@ public class AjBuildManager implements IOutputClassFileNameProvider, IBinarySour
                // cp.addAll(buildConfig.getClasspath());
                BcelWorld bcelWorld = new BcelWorld(cp, handler, null);
                bcelWorld.setBehaveInJava5Way(buildConfig.getBehaveInJava5Way());
-               bcelWorld.setTiming(buildConfig.isTiming());
+               bcelWorld.setTiming(buildConfig.isTiming(), false);
                bcelWorld.setAddSerialVerUID(buildConfig.isAddSerialVerUID());
                bcelWorld.setXmlConfigured(buildConfig.isXmlConfigured());
                bcelWorld.setXmlFiles(buildConfig.getXmlFiles());