My eclipse plugin app has a background job running at the background which launches the dialog as soon as the eclipse is launched.
When launching the eclipse from RCPTT tool, I would like to disable the dialog prompt as this causes our existing test suites to fail.
To get rid of the issue, I had tried disabling the preference property XXX.autoStart=false
in the preference settings. It is not having immediate effect in the launched instance of eclipse and we will need to restart or re-execute the test suite in order to make it work.
Is there any way to suppress the dialog prompt at eclipse application startup through RCPTT preference ?
P.S. I have gone through the link https://www.eclipse.org/rcptt/documentation/userguide/contexts/preferences/ but that doesn't seem to help!
You need two contexts to do so, for example:
-
PREF_Disable_dialog
: A preferences context which sets theXXX.autoStart=false
property-
ECL_restart
: An Eclipse Command Line script, holding two instructions:Add these two to the context of your test case(s), in the order above. The restart will be considered part of the test case, and you don't have to do it manually.