How to pass arguement to an application [message #436273] |
Mon, 05 September 2005 09:52 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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...
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03416 seconds