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 16:38
Eike Stepper is currently offline Eike StepperFriend
Messages: 6246
Registered: July 2009
Senior Member

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?

Previous Topic:Programmatically weaving jars
Next Topic:Compile error
Goto Forum:

Current Time: Fri Oct 28 12:25:44 GMT 2016

Powered by FUDForum. Page generated in 0.01868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software