Re: [dev] Instance of OOo running after unopkg ?

2010-08-23 Thread rony
Hi René,

On 23.08.2010 16:05, Rene Engelhard wrote:
> On Mon, Aug 23, 2010 at 04:01:45PM +0200, Rony G. Flatscher wrote:
>   
>> for installing an extension (under Ubuntu in this particular case) in an
>> installation script the command-line tool "unopkg" is used. When
>> starting OOo thereafter a warning comes up that an instance of OOo would
>> be running, and if one would like to proceed.
>>
>> Is this an expected behaviour?
>> 
> Nope.
>
> I don't see that in all the packages here which use unopkg
> in their preinst/postinst/prerm.
>   
Thank you very much for this hint!

Going back because of it, I just noticed that unopkg is not the culprit,
but a script that runs afterwards, so it is my own fault probably. Sorry
for the wrong alarm.

Just a quick question (which would save me a little bit of research
which currently would be quite helpful): how can I make sure, having a
xContext (from com.sun.star.comp.helper.Bootstrap.bootstrap()) to
shutdown OOo gracefully at the end? (Presumably not closing OOo
explicitly leavees an instance open.)

---rony



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] XDesktop.terminate() Re: [dev] Instance of OOo running after unopkg ?

2010-08-23 Thread rony
Hi there,

... cut ...

> Just a quick question (which would save me a little bit of research.
> which currently would be quite helpful): how can I make sure, having a
> xContext (from com.sun.star.comp.helper.Bootstrap.bootstrap()) to
> shutdown OOo gracefully at the end? (Presumably not closing OOo
> explicitly leavees an instance open.)
>
>   
sorry for the noise, just found what I need: XDesktop.terminate().

---rony

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Instance of OOo running after unopkg ?

2010-08-23 Thread Rene Engelhard
Hi,

On Mon, Aug 23, 2010 at 04:01:45PM +0200, Rony G. Flatscher wrote:
> for installing an extension (under Ubuntu in this particular case) in an
> installation script the command-line tool "unopkg" is used. When
> starting OOo thereafter a warning comes up that an instance of OOo would
> be running, and if one would like to proceed.
> 
> Is this an expected behaviour?

Nope.

I don't see that in all the packages here which use unopkg
in their preinst/postinst/prerm.

Grüße/Regards,

René

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Instance of OOo running after unopkg ?

2010-08-23 Thread Rony G. Flatscher
Hi there,

for installing an extension (under Ubuntu in this particular case) in an
installation script the command-line tool "unopkg" is used. When
starting OOo thereafter a warning comes up that an instance of OOo would
be running, and if one would like to proceed.

Is this an expected behaviour?

Is there a command-line utility which one could use to make sure that
after unopkg OOo gets reliably shutdown? Or with other words: how could
one make sure in an un/installation script, that OOo has completely shut
down after unopkg, before proceeding ?

---rony



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org