Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] OSGi command line applications?

If you are building a non UI application then I recommend to not use the extension/extension point model.
Instead use OSGi services. This will also make you more independent of RPC while working nicely with it.

Christian

On 09.04.2016 03:04, Lee Carver wrote:
Hi Folks -

I have a fairly large Eclipse RPC application (DepAn).  The RPC platform provides an excellent UI environment for users and various graphical analysis tools. However, several of the plugins only define data types and serialization protocols.  These components also be useful in a command-line environment.  It would be ideal if the same code that is packaged for the RPC application could be deploy in a corresponding set of command line tools.

If I understand the OSGi/Equinox frameworks correctly, it seems like a command line tool could parse the options, set up an OSGi container, and reuse the plugin modules from the RPC application.  Since the plugins interact (weakly), I'd want the OSGi container to include a few of the Eclipse bundles that support Extensions and Extension Points.

All of this seems possible, but the trial-and-error approach process seems overly tedious.  Has any one done something similar and have some code they can share?

Thanks
- Lee


_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev


-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Back to the top