Re: Can there be more than one application? [message #88755] |
Mon, 28 May 2007 13:33 |
|
I've moved this over to equinox, since this is really they're area.
Steinar Bang wrote:
>
> I tried many variants over this, and to cut things short, this was
> what worked:
> 1. I'm using a different PDE target platform than the eclipse
> installation (its plugins directory contains the bundles of the
> eclipse runtime, plus the ones I've added). The PDE target
> platform is situated in $HOME/target_platform/
>
> 2. I copied the /usr/local/eclipse/configuration/config.ini file to
> $HOME/target_platform/configuration/config.ini
>
> 3. I modified $HOME/target_platform/configuration/config.ini and
> added the bundles I needed starting to the osgi.bundles value
>
> Note: what I put into osgi.bundles was bundle-symbolic-name@:start for
> all of my custom bundles. I tried putting the file name without
> version number and .jar (which is what the osgi.bundles in the
> config.ini of the standalone application have), but that didn't work.
>
> If there is interest, I can list the things I tried that didn't
> work...:-)
>
> But now I've run into a different problem... the standalone
> application defines a ParameterizedRunnable, and registers it with the
> OSGi framework.
>
> And the EclipseStarter and EclipseAppLauncher classes can only deal
> with a single ParameterizedRunnable...
>
> So now I'm pondering what to do...?
Also,
Steinar Bang wrote:
> Is it possible to start an eclipse/osgi application containing two
> ParameterizedRunnable implementations for two separate applications
> (one of which is eclipse RCP)?
>
> I'm trying to integrate parts of a standalone OSGi based application
> into the same VM as an RCP solution, and it's currently breaking
> because EclipseAppLauncher just seems to handle a single
> ParameterizedRunnable (it looks like it picks the first it finds).
>
> Is there some way to start eclipse that makes it pick more than one?
>
> Thanx!
>
>
> - Steinar
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
|
Powered by
FUDForum. Page generated in 0.03478 seconds