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?