Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Annotate tasks with "Restart needed"
Annotate tasks with "Restart needed" [message #1721402] Wed, 27 January 2016 07:46 Go to next message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 38
Registered: September 2011
Member
Hi,

how can I define that a restart is needed for a certain task?

Example: I create the servers.xml file according to https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Server_Instance_in_Servers_View

The server does not appear in the Servers view until I restart. Is there a way to annotate the task in a way that it requires a restart to work?

Thanks fpor your answers!

Oliver
Re: Annotate tasks with "Restart needed" [message #1721452 is a reply to message #1721402] Wed, 27 January 2016 14:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30996
Registered: July 2009
Senior Member
Oliver,

Comments below.

On 27.01.2016 08:46, Oliver Libutzki wrote:
> Hi,
>
> how can I define that a restart is needed for a certain task?
You can't. The task implementations determine whether a restart is needed.
>
> Example: I create the servers.xml file according to
> https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Server_Instance_in_Servers_View
>
> The server does not appear in the Servers view until I restart.
I see. But doesn't this task run before the IDE is even started?

> Is there a way to annotate the task in a way that it requires a
> restart to work?
No.
>
> Thanks fpor your answers!
>
> Oliver
Re: Annotate tasks with "Restart needed" [message #1721583 is a reply to message #1721452] Thu, 28 January 2016 13:54 Go to previous message
Oliver Libutzki is currently offline Oliver LibutzkiFriend
Messages: 38
Registered: September 2011
Member
Ed Merks wrote on Wed, 27 January 2016 09:51

> The server does not appear in the Servers view until I restart.
I see. But doesn't this task run before the IDE is even started?

You are right, that's sufficient.

Thanks a lot!
Previous Topic:Remove/uninstall a previously configured plugin
Next Topic:NPE while using the installer
Goto Forum:
  


Current Time: Mon Mar 30 10:18:54 GMT 2020

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

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

Back to the top