Apache OpenOffice (AOO) Bugzilla – Issue 65192
Package manager: change order of installation
Last modified: 2013-02-07 22:04:50 UTC
The order in which the individual parts of a package are installed seems to be not defined. It would be very helpfull to define this order so that program code (DLLs) is installed first and configuration patches (XCUs) last. This would enable configuration change listeners to immediately use the newly installed program code (like new services) when they receive a change notification.
.
@jl: As discussed, changing owner to package manager master. Feel free to retarget to 2.x if af does not complain.
Suggested order of installation: -rdb -components -xcus -other What if there are several xcus, from which the component depends. For example, xcu A indicates a new service. When installed, the listener tries to use this service, the service expect xcu B, which is not yet available and throws a runtime exception. A better solution would be a locking mechanism in the configuration, that prevents any notifications until a lock has been released. By the way, is it a common scenario that service names are put into the configuration?
The ordered registration of extension contents could be done in BackendImpl::PackageImpl::processPackage_ (desktop/source/deployment/registry/package/dp_package.cxx
retargeted
Retargeting to OOo 2.3
Retargeted to 2.4
Retargeted to 3.0.
Retargeted.