|Programmatically weaving jars [message #596265]
||Fri, 27 July 2007 12:38
| Eike Stepper
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.03247 seconds