Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to pass arguement to an application
How to pass arguement to an application [message #436273] Mon, 05 September 2005 09:52 Go to next message
Eclipse UserFriend
Originally posted by: gkurien.icope.com

Hi,

Does anyone know ,if we were to make an independent plugin application
, how i will be able to send arguement to the application ?

and what exactly does args in IPlatformRunnable#run(Object args) contains ?
Re: How to pass arguement to an application [message #436274 is a reply to message #436273] Mon, 05 September 2005 12:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

To get your program arguments:

String[] argsarry1 = Platform.getCommandLineArgs();

To send them define a product and in the program arugments pane add your
arguments, or export a product and use the command line.

I believe Object args has mostly other internal arguments, required for the
framework.

"Genu George" <gkurien@icope.com> wrote in message
news:de40441d3cc4aa4f4c3f5399e669a626$1@www.eclipse.org...
>
> Hi,
>
> Does anyone know ,if we were to make an independent plugin application
> , how i will be able to send arguement to the application ?
>
> and what exactly does args in IPlatformRunnable#run(Object args) contains
> ?
>
Re: How to pass arguement to an application [message #436276 is a reply to message #436274] Mon, 05 September 2005 11:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gkurien.icope.com

hi,
You said "To send them define a product and in the program arugments
pane add your arguments, or export a product and use the command line."

can u say a little more on the above ....

wat i have done so far is...
....i have made a product extention point and specified my application ..i
have also set some properties to the product ...but i still dint get how
to send an arguement to the application...
Re: How to pass arguement to an application [message #436278 is a reply to message #436276] Mon, 05 September 2005 14:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

on the configuration tab of your product definition, there is a text box
titled "Program Arguments", put your program arguments there.


"Genu George" <gkurien@icope.com> wrote in message
news:eec0db5ad443d2cc447ab7de6c76acf8$1@www.eclipse.org...
>
> hi,
> You said "To send them define a product and in the program arugments pane
> add your arguments, or export a product and use the command line."
>
> can u say a little more on the above ....
>
> wat i have done so far is...
> ...i have made a product extention point and specified my application ..i
> have also set some properties to the product ...but i still dint get how
> to send an arguement to the application...
>
>
Re: How to pass arguement to an application [message #436285 is a reply to message #436278] Tue, 06 September 2005 04:35 Go to previous message
Eclipse UserFriend
Originally posted by: gkurien.icope.com

ok i see it thanx...
Previous Topic:HelpView customization
Next Topic:org.eclipse.ui.forms not included in Plug-In dependencies
Goto Forum:
  


Current Time: Sat Dec 14 16:23:11 GMT 2024

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

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

Back to the top