[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] OSGi command line applications?
- From: Lee Carver <leeca@xxxxxxxxxxx>
- Date: Fri, 8 Apr 2016 18:04:39 -0700
- Delivered-to: firstname.lastname@example.org
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?