Issue 78167 - unopkg does not accept bootstrap parameter on command line
Summary: unopkg does not accept bootstrap parameter on command line
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 680m212
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
: 66769 (view as issue list)
Depends on:
Blocks: 79643 79645 80294
  Show dependency tree
 
Reported: 2007-06-07 08:43 UTC by joachim.lingner
Modified: 2007-12-07 15:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description joachim.lingner 2007-06-07 08:43:19 UTC
for example 
unopkg -env:bla=ble add c:\abc.oxt

fails.
Comment 1 joachim.lingner 2007-06-07 08:43:48 UTC
.
Comment 2 joachim.lingner 2007-07-16 13:30:57 UTC
.
Comment 3 joachim.lingner 2007-08-01 07:18:25 UTC
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.
Comment 4 joachim.lingner 2007-08-01 11:52:00 UTC
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.
Comment 5 joachim.lingner 2007-08-01 15:10:28 UTC
.
Comment 6 joachim.lingner 2007-08-06 09:06:28 UTC
.
Comment 7 joerg.skottke 2007-08-10 09:30:28 UTC
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.
Comment 8 joerg.skottke 2007-11-01 10:29:50 UTC
close
Comment 9 joachim.lingner 2007-12-07 15:56:22 UTC
*** Issue 66769 has been marked as a duplicate of this issue. ***