Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 450871 - Add an easy way to suppress the questionnaire window
Summary: Add an easy way to suppress the questionnaire window
Status: VERIFIED FIXED
Alias: None
Product: Oomph
Classification: Tools
Component: Setup (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact:
URL: https://www.eclipse.org/forums/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 13:32 EST by Christian Damus CLA
Modified: 2014-11-13 14:12 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2014-11-10 13:32:50 EST
As discussed on the forum (see attached URL), it would be nice to have a simple way to ensure that the Questionnaire dialog (as great as it is) will not be shown in situations where it is not needed, such as during JUnit test execution.

A common mechanism for this sort of thing is a system property, but I wouldn't prescribe that particular solution.  Whatever makes the most sense for the project.  :-)
Comment 1 Eike Stepper CLA 2014-11-12 00:39:46 EST
I've added a -D option. With -Doomph.setup.questionnaire.skip=true you can skip the welcome questionnaire in both the installer and the IDE.

I've also made the questionnaire pluggable and factored the current implementation into the separate plugin org.eclipse.oomph.setup.ui.questionnaire. So another approach to skip the questionnaire is to not deploy this plugin at all.

Committed: http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=7627212419ccf4ab72b8ea1cf13e639b817a0091
Comment 2 Christian Damus CLA 2014-11-13 14:12:29 EST
Thanks! The new system property is working for me in the latest nightly build.