Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Access system Arguments
Access system Arguments [message #543939] Thu, 01 July 2010 03:29 Go to next message
Eclipse UserFriend
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 04:03 Go to previous message
Eclipse UserFriend
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: Thu Jul 03 06:27:58 EDT 2025

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

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

Back to the top