Thanks, Neil. That works nicely.
On Thu, Apr 19, 2018 at 1:56 PM, Neil Bartlett wrote:
> It looks like the system bundle publishes a service of type
> org.eclipse.osgi.service.environment.EnvironmentInfo. Bind to this in your
> DS component, and then you can get the command line args along with v
It looks like the system bundle publishes a service of type
org.eclipse.osgi.service.environment.EnvironmentInfo. Bind to this in your
DS component, and then you can get the command line args along with various
other goodies.
I expect this will be available in any Eclipse application. I should poi
Friends of OSGi,
I'm currently migrating a few earlyStartup actions to OSGI DS services
in an Eclipse RCP application.
One of the OSGi services needs to have access to the command line arguments.
For the earlyStartup extension, this was solved by putting the
relevant argument into a system prope