[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Custom build steps that work in Eclipse and Tycho?
|
Hi Igor,
I’d agree that that’s not what I want to do. I’d rather use the maven or ant enhancers for the ORM to generate the classes at build time only.
I’m currently using an ORM included javaagent to do the instrumentation at runtime - however that’s where my problem lies - you can’t perform the instrumentation with just the JRE - it *requires* the JDK.
Bundling the JDK would not only probably increase the distribution by quite a lot (I’m guesses at least double), I’m not sure how to bundle it into the application as the eclipse bootstrap understands the <rcp-app-dir>/jre ( <rcp-app-dir>/eclipse.app/jre with some hacks on OS X).
Thanks,
Jim
I do not recommend using build-time class instrumentation inside Eclipse workspace, especially together with m2e. If your ORM solution comes with Eclipse integration, you may be fine using that, but do not assume you'll be able to adapt Maven plugin to work inside m2e.
I believe runtime class instrumentation using javaagent or equinox classloading hooks is far better approach in the long run.
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature