Apache OpenOffice (AOO) Bugzilla – Issue 78167
unopkg does not accept bootstrap parameter on command line
Last modified: 2007-12-07 15:56:22 UTC
for example unopkg -env:bla=ble add c:\abc.oxt fails.
.
To install bundled extensions we use a temporary user installation. That is we invoke unopkg with -env:UserInstallation=temp_dir When unopkg installes an extension with a Java component, then this component is created in a child process, because it uses Java, the java framework is used to locate the JRE and then it needs the UserInstallation. Without this fix, it would not obtain the -env:UserInstallation, and it would create the settings in the root's home dir.
To verify the fix install the office on Linux/Solaris and see if for the current use the user installation directory was created. If there is for example on Linux the file: /root/.staroffice8/user/config/javasettings_Linux_x86.xml then something failed. In the cws jl68 I have put the extension leaves1.oxt, which is the one from desktop/test/deployment/options. It contains a java component. Look into the Extension Manager after installation to check if it is enabled.
Verified using -env:UserInstallation=file:///tmp/unopkg-test Note that the file-URL may not be specified as /tmp/unopkg-test - this leads to a crash (issue 80469) which was closed without providing any information about the issue id which is supposed to fix the problem.
close
*** Issue 66769 has been marked as a duplicate of this issue. ***