Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to avoid prompt on exit
How to avoid prompt on exit [message #1742250] Thu, 01 September 2016 06:32 Go to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 3
Registered: August 2016
Junior Member

In the JSDT.setup, I would like to add a PreferenceTask to avoit the prompt on exit.
To do that I have to set the preference EXIT_PROMPT_ON_CLOSE_LAST_WINDOW to false in .metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs file.

I have tested several use of PreferenceTask to do that but without success :

- a PreferenceTask with /instance/org.eclipse.core.runtime/EXIT_PROMPT_ON_CLOSE_LAST_WINDOW as key

- a PreferenceTask with /instance/org.eclipse.ui.ide.prefs/EXIT_PROMPT_ON_CLOSE_LAST_WINDOW

- previous PreferenceTask contained in a CompoundTask with org.eclipse.ui.ide.prefs or org.eclipse.core.runtime as name.

What I need to do to set this preference using Oomph?

Best Regards.
Re: How to avoid prompt on exit [message #1742262 is a reply to message #1742250] Thu, 01 September 2016 08:21 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6487
Registered: July 2009
Senior Member
Hi Esteban,

I use this task:

<?xml version="1.0" encoding="UTF-8"?>

Previous Topic:How to import .epf file for SVN checkout
Next Topic:Targlets: Director cannot find workspace_requirements and fails
Goto Forum:

Current Time: Thu Apr 02 07:40:14 GMT 2020

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

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

Back to the top