Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to define a new vmarg (-vmargs) in Eclipse?
How to define a new vmarg (-vmargs) in Eclipse? [message #325944] Mon, 03 March 2008 22:26 Go to next message
Sudarsha Wijenayake is currently offline Sudarsha WijenayakeFriend
Messages: 22
Registered: July 2009
Junior Member
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?

Thanks in advance!

Sudarsha Wijenayake
IBM Rational Software
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
Eclipse UserFriend
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
Previous Topic:Executable extension definition for <corresponding class> not found
Next Topic:Massive OutOfMemory Errors with 3.3.1
Goto Forum:
  


Current Time: Thu Dec 26 18:39:46 GMT 2024

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

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

Back to the top