Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Executing SetupTasks only once per Workspace
Executing SetupTasks only once per Workspace [message #1778794] Thu, 21 December 2017 14:36 Go to next message
Alex Bellhäuser is currently offline Alex BellhäuserFriend
Messages: 1
Registered: December 2017
Junior Member
Hey everyone,

I'm looking for a way to predefine some settings which could be overwritten by users.

Let me explain. I got a project setup with a few setup tasks. I know there are different triggers like BOOTSTRAP, STARTUP and MANUAL.

Question is: is there a way to execute some setup tasks only once per workspace creation? So values will get predefined with different values than the default value but could be overwritten by the user without wiping away these changes at startup.

Example: Let's say I got a setup task to disable the spell checker

  • BOOTSTRAP trigger has no effect (because there is no workspace at this time)
  • STARTUP trigger is called on every startup and wipes away user changes
  • MANUAL trigger is not executed at first startup, so not setting my default value

Does anyone have an idea? Maybe via filtering?

Re: Executing SetupTasks only once per Workspace [message #1778884 is a reply to message #1778794] Fri, 22 December 2017 20:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30894
Registered: July 2009
Senior Member
No, there's no way to do a task only once (expect for task specifically designed to run only one). If your user doesn't like what the preference task does, they can record the preference as a preference task differently in their user.setup, their installation.setup, or their workspace.setup to override the one you provide.
Previous Topic:Authetication error for my eclipse ID
Next Topic:Modular target resolution
Goto Forum:

Current Time: Thu Feb 20 20:42:41 GMT 2020

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

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

Back to the top