|
Re: Restart after installation [message #496428 is a reply to message #496312] |
Tue, 10 November 2009 03:14 |
Eclipse User |
|
|
|
Originally posted by: wangqs_eclipse.yahoo.com
You can add a SynchronousProvisioningListener to the IProvisioningEventBus
Then handle the event in the notify method of the listener to determine
if restarting is needed
Hope this is helpful.
Cheers
Q.S. Wang
Hugues Rérolle wrote:
>
> Hi all,
>
> Is it possible to know when the plaform is restarting after software
> updating.
>
> Thanks,
>
> Hugues
>
|
|
|
|
Re: Restart after installation [message #496462 is a reply to message #496459] |
Tue, 10 November 2009 08:34 |
Eclipse User |
|
|
|
Originally posted by: wangqs_eclipse.yahoo.com
Is it a RCP application of yourself? Or are you talking about eclipse SDK?
I don't know if eclipse has any solution for this. Tut if it's your RCP
application, then it should be easy to create a indicate file by using
the listener. The RCP application can then to check this file to know
it's the first time running.
Q.S. Wang
Hugues Rérolle wrote:
> Thanks Wang for your solution,
>
> But I forgot to specify that I want to be notified when the platform is
> starting first time after an update (or other installation).
>
> Do you think that your proposal could achieve that?
>
> Thanks again!
>
> Hugues
>
>
> Wang Q.S wrote:
>> You can add a SynchronousProvisioningListener to the
>> IProvisioningEventBus
>> Then handle the event in the notify method of the listener to
>> determine if restarting is needed
>>
>> Hope this is helpful.
>>
>> Cheers
>> Q.S. Wang
>>
>> Hugues Rérolle wrote:
>>>
>>> Hi all,
>>>
>>> Is it possible to know when the plaform is restarting after software
>>> updating.
>>>
>>> Thanks,
>>>
>>> Hugues
>>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03781 seconds