Exporting an Equinox app [message #68460] |
Mon, 20 July 2009 13:22  |
Eclipse User |
|
|
|
I have a commandline eclipse equinox application, a target platform and a
run configuration (needed because I use AspectJ and I need to specify
runlevels for certain bundles).
Everything is working inside eclipse but I couldn't find a way of
exporting it.
Yes, I know that I could do it with an IApplication but I don't want to
add more eclipse dependent code.
Is there a way of doing this?
Right now I have to manually export the bundles, create the config.ini
file by editing the one in the runtime directory and adding the
simpleconfigurator.
There has to be an easier way especially because eclipse has all the
information stored.
Thanks
Jochen
|
|
|
|
|
Re: Exporting an Equinox app [message #68489 is a reply to message #68480] |
Mon, 20 July 2009 15:40  |
Eclipse User |
|
|
|
Yeah, I went back to the product.
Just some notes for people who are running into this:
- create the product from your launch config
- open the configuration, the equinox launch default sets all plugins that
are not explicitly started to start in level 4, the product doesn't use
that info, so add all bundles and set them to autostart in level 4
- make sure all fields on the overview page are blank (Application has
always a preselection, at least on my install)
- if you haven't done so before add org.eclipse.simpleconfigurator to be
started in level 1
Now hit export:
Make sure that "Synchronize before exportin" is UNSELECTED, otherwise the
export will fail.
If you don't have the delta in your target platform you will now have to
copy the native fragments into the export.
There you go.
|
|
|
Re: Exporting an Equinox app [message #599617 is a reply to message #68460] |
Mon, 20 July 2009 14:52  |
Eclipse User |
|
|
|
Jochen Mader wrote:
> I have a commandline eclipse equinox application, a target platform and
> a run configuration (needed because I use AspectJ and I need to specify
> runlevels for certain bundles).
> Everything is working inside eclipse but I couldn't find a way of
> exporting it.
> Yes, I know that I could do it with an IApplication but I don't want to
> add more eclipse dependent code.
> Is there a way of doing this?
> Right now I have to manually export the bundles, create the config.ini
> file by editing the one in the runtime directory and adding the
> simpleconfigurator.
> There has to be an easier way especially because eclipse has all the
> information stored.
Create a product definition and use that along with PDE Build. It will
take care of creating the proper metadata and all that good stuff. It's
important to know that product definitions are no longer explicitly tied
to RCP applications.
Does that make sense?
Cheers,
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
|
|
|
|
Re: Exporting an Equinox app [message #599635 is a reply to message #68480] |
Mon, 20 July 2009 15:40  |
Eclipse User |
|
|
|
Yeah, I went back to the product.
Just some notes for people who are running into this:
- create the product from your launch config
- open the configuration, the equinox launch default sets all plugins that
are not explicitly started to start in level 4, the product doesn't use
that info, so add all bundles and set them to autostart in level 4
- make sure all fields on the overview page are blank (Application has
always a preselection, at least on my install)
- if you haven't done so before add org.eclipse.simpleconfigurator to be
started in level 1
Now hit export:
Make sure that "Synchronize before exportin" is UNSELECTED, otherwise the
export will fail.
If you don't have the delta in your target platform you will now have to
copy the native fragments into the export.
There you go.
|
|
|
Powered by
FUDForum. Page generated in 0.09228 seconds