Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsExporting an Equinox app
https://www.eclipse.org/forums/index.php/mv/msg/21336/68460/#msg_68460
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]]>Jochen Mader2009-07-20T17:22:59-00:00Re: Exporting an Equinox app
https://www.eclipse.org/forums/index.php/mv/msg/21336/599617/#msg_599617
> 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]]>Chris Aniszczyk2009-07-20T18:52:20-00:00Re: Exporting an Equinox app
https://www.eclipse.org/forums/index.php/mv/msg/21336/68474/#msg_68474
> 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.
In your product definition, only specify the identifier, application
identifier. Do not specify a product identifier since you aren't
building a traditional "RCP" application (although the argument could be
made that you're just building a headless Eclipse RCP application)
In your product definition, only specify the identifier, application
identifier. Do not specify a product identifier since you aren't
building a traditional "RCP" application (although the argument could be
made that you're just building a headless Eclipse RCP application)
Cheers,
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465 http://twitter.com/eclipsesource | http://twitter.com/caniszczyk]]>Chris Aniszczyk2009-07-20T18:54:45-00:00Re: Exporting an Equinox app
https://www.eclipse.org/forums/index.php/mv/msg/21336/599635/#msg_599635
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.]]>Jochen Mader2009-07-20T19:40:34-00:00Re: Exporting an Equinox app
https://www.eclipse.org/forums/index.php/mv/msg/21336/68489/#msg_68489
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.]]>Jochen Mader2009-07-20T19:40:34-00:00