Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Programmatically weaving jars
Programmatically weaving jars [message #596265] Fri, 27 July 2007 12:38
Eike Stepper is currently offline Eike Stepper
Messages: 5484
Registered: July 2009
Senior Member
Hi,

I have a plugin that shall take some other plugin jars (or folders), weave some aspects into them and copy the resulting jars to somewhere else.
I've played with the WeavingURLClassLoader and succeeded to load/weave classes from a plugin. I verified that the loaded classes contain the aspects.

Unfortunately I don't see a way to identify the woven classes since acceptClass(String name, byte[] bytes) is never called. So I can't construct a jar copy with the woven classes.
Does anybody know a better way?

Cheers
/Eike
Previous Topic:Programmatically weaving jars
Next Topic:Compile error
Goto Forum:
  


Current Time: Mon Jul 28 16:32:07 EDT 2014

Powered by FUDForum. Page generated in 0.01741 seconds