weaver.weave(new WeaverAdapter(this,weaverMessageHandler,progressListener));
} finally {
// ???: is this the right point for this? After weaving has finished clear the caches.
- CflowPointcut.clearCaches();
if (weaverMessageHandler instanceof WeaverMessageHandler)
((WeaverMessageHandler)weaverMessageHandler).setCurrentResult(null);
weaver.allWeavingComplete();
try {
weaver.weave(new WeaverAdapter(this,weaverMessageHandler,progressListener));
} finally {
- CflowPointcut.clearCaches();
weaver.tidyUp();
IMessageHandler imh = weaver.getWorld().getMessageHandler();
if (imh instanceof WeaverMessageHandler)
private void postWeave() {
if (debugPipeline)System.err.println("> postWeave()");
IMessageHandler imh = weaver.getWorld().getMessageHandler();
- CflowPointcut.clearCaches();
if (imh instanceof WeaverMessageHandler)
((WeaverMessageHandler)imh).setCurrentResult(null);
if (!droppingBackToFullBuild) weaver.allWeavingComplete();