Programmatically export plugin [message #1008144] |
Sun, 10 February 2013 17:39  |
Eclipse User |
|
|
|
Basically I am looking for a programmatic way to replicate the export deployable plugin wizard (without the wizard).
I need to take some eclipse projects and turn them into .jar files in exactly the same way as manually exporting them through the Eclipse wizard would (considering the manifest, build.properties etc.)
If anyone can give me any pointers to good examples etc, or a hint of where in the API to start I'd be very much obliged.
|
|
|
Re: Programmatically export plugin [message #1008263 is a reply to message #1008144] |
Mon, 11 February 2013 05:36   |
Eclipse User |
|
|
|
Hi,
I'm not very sure about what you're trying to achieve: is this something
you want in your IDE, or a headless build (command-line, Continuous
Integration friendly) ?
In case you want an Eclipse plugin, just mimic the action performed at
the end of the export wizard, and turn them into a command.
If you're looking for a headless build, I highly recommend you to use
Tycho, which relies on Maven to build your stuff. It's just a matter of
adding a pom.xml to your project in order to enable Tycho, and then
Maven+Tycho take care of everything (MANIFEST.MF, build.properties...)
to turn your projects into bundles.
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03992 seconds