On May 4, 2009, at 12:35 PM, Asiri Rathnayake wrote:
Hi Devs,
The other feature is a frequently requested one
(auto-strart) and
admins
are having a hard time without this feature :)
There is a slight change of approach towards implementing this
feature. Due
to some technical limitations it seems like we cannot start the
openoffice
server when XE is started. But there is a better solution, we start
the
openoffice server when officeimporter component is loaded into the
memory
first time - this is done only if the autostart configuration option
is set.
Everything else remains the same.
I hope this is ok with you, any comments are welcome.
hmmm as a general comment I don't like it too much since it means the
user will have to wait more when doing the first import.
I consider this a hack and not a better solution.
It should pretty easy to add a clean notion of container
initialization using components (in xwiki-containers). Right now
there's already the notion of Request init and Execution context init.
Note also that in XWiki.java there's already the notion of
initialization (the variable "initdone" is put in the XWiki Context).
Thanks
-Vincent