| Author |
Message |
|
|
Post subject: How to apply a javaagent transformation on save/compile?
Posted: Apr 07, 2008 - 05:10 PM
|
|
Joined: Apr 07, 2008
Posts: 3
|
|
I'm looking to find or develop a plugin that will modify the .class file after it has been compiled. Essentially I'll be applying a transformation like javaagent but at post compile time.
What is the best approach to this problem?
CompilationParticipant seemed like a starting point but does not quite seem right for the job?
Any thoughts or suggestions?
Thanks, Rob. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to apply a javaagent transformation on save/compile?
Posted: Apr 09, 2008 - 12:43 AM
|
|
Joined: Apr 07, 2008
Posts: 3
|
|
As a further note... in jdk6 it looks like you can add an agent dynamically at runtime. I'll have to test this out but perhaps this is an option.
It would be nice to do this in a low tech post save/compile manor in eclipse though... anyone got thoughts on that? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: How to apply a javaagent transformation on save/compile?
Posted: Apr 09, 2008 - 12:44 AM
|
|
Joined: Apr 07, 2008
Posts: 3
|
|
|
|
|
 |
|
|
| |