diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-24 16:45:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-24 17:18:28 +0200 |
commit | 1b40fbe41459a2231870af94a06263d89af554a6 (patch) | |
tree | 509f78e5763f55fa1db8d39d774a978fb96e82a7 /offapi/com | |
parent | 35d474ff8c36d12e2afafee8a061745e47ef4fb0 (diff) |
fdo#53968 etc.: Fix more "doesn't start after upgrade" problems
* fdo#53968 revealed that multiple soffice.bin instances can run removeTree in
parallel. Therefore, demoted failures from exceptions to SAL_WARNs. (And
keeping fingers crossed.)
* a8cdce148c76c93c5d41820610d6e6ac175e03a7 "fdo#53655: Ignore failure to remove
directories (as happens on Windows XP)" was due to a forgotten
osl::Directory::close before calling osl::Directory::remove after all.
* UserInstallations have been seen in the wild where no extensions were
installed per-user (any longer), but user/uno_packages/cache/registry/
com.sun.star.comp.deployment.component.PackageRegistryBackend/*.rdb files
contained data nevertheless. To reliably clean out any old junk,
refreshBundledExtensionsDir has been extended to cleanExtensionsCache which in
tandem with an extended Desktop::SynchronizeExtensionRepositories now cleanly
re-installs all bundled, shared, and per-user extensions after a LO upgrade.
Change-Id: Ic6b5b6c1945d76eb3a65b6cd4512a657b7a835a0
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/deployment/XExtensionManager.idl | 4 | ||||
-rw-r--r-- | offapi/com/sun/star/deployment/XPackageManager.idl | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/deployment/XExtensionManager.idl b/offapi/com/sun/star/deployment/XExtensionManager.idl index 29acd4e9e0d3..3ac3ff3a3416 100644 --- a/offapi/com/sun/star/deployment/XExtensionManager.idl +++ b/offapi/com/sun/star/deployment/XExtensionManager.idl @@ -260,6 +260,9 @@ interface XExtensionManager <p> Please use this in case of suspected cache inconsistencies only. </p> + @param force + set to true when called during soffice bootstrap after cleaning + old extension cache @param repositroy the name of the repository @param xAbortChannel @@ -268,6 +271,7 @@ interface XExtensionManager command environment for error and progress handling */ void reinstallDeployedExtensions( + [in] boolean force, [in] string repository, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv ) diff --git a/offapi/com/sun/star/deployment/XPackageManager.idl b/offapi/com/sun/star/deployment/XPackageManager.idl index 65cb24a6ac0f..9894b2ba9e81 100644 --- a/offapi/com/sun/star/deployment/XPackageManager.idl +++ b/offapi/com/sun/star/deployment/XPackageManager.idl @@ -225,12 +225,16 @@ interface XPackageManager Please use this in case of suspected cache inconsistencies only. </p> + @param force + set to true when called during soffice bootstrap after cleaning + old extension cache @param xAbortChannel abort channel to asynchronously abort the adding process @param xCmdEnv command environment for error and progress handling */ void reinstallDeployedPackages( + [in] boolean force, [in] com::sun::star::task::XAbortChannel xAbortChannel, [in] com::sun::star::ucb::XCommandEnvironment xCmdEnv ) raises (DeploymentException, |