|
Re: How to define a new vmarg (-vmargs) in Eclipse? [message #325945 is a reply to message #325944] |
Mon, 03 March 2008 22:58 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Sudarsha Wijenayake wrote:
> Hello,
>
> Can someone tell me how to define a new vmarg (-vmargs) in Eclipse?
> I've written a plug-in, which is responsible for executing automated tests
> on an RCP app that the particular plug-in is also installed in.
> I need to find someway to trigger the tests execution if and only if a
> specific argument (vmarg) is passed to the product at startup?
The arguments following -vmargs are passed directly to the JVM that is
running Eclipse. To pass a special parameter to your own class, you
could use the standard -DsomeProprtyName=someValue as one of the vmargs.
Hope this helps,
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03450 seconds