Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Access system Arguments
Access system Arguments [message #543939] Thu, 01 July 2010 07:29 Go to next message
Matthias is currently offline MatthiasFriend
Messages: 52
Registered: September 2009
Member
Hi,
i need to access system arguments in the Activator.start(BundleContext contect) method that i have previously defined in the launch configurations "arguments" tab (in the "VM" section, eg. -Dmy.argument=test).
The methods Platform.getApplicationArgs() and Platform.getCommandLineArgs() didn't work.
Any ideas?

matthias

Re: Access system Arguments [message #543955 is a reply to message #543939] Thu, 01 July 2010 08:03 Go to previous message
Matthias is currently offline MatthiasFriend
Messages: 52
Registered: September 2009
Member
Sorry, immediately after i posted it i found the solution.

FYI:
context.getProperty(String key) returns the system properties

matthias
Previous Topic:Eclipse RCP Integration
Next Topic:How to use eclipse rcp fragments to update a plugin
Goto Forum:
  


Current Time: Mon Nov 29 03:48:33 GMT 2021

Powered by FUDForum. Page generated in 0.01551 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top