To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79643





------- Additional comments from [EMAIL PROTECTED] Wed Aug  1 06:07:26 +0000 
2007 -------
There is a problem on solaris when invoking unopkg by the postrun service. Then
pkgrm does not work. The logs (RTL_LOGFILE_TRACE) showed that the javaldx
(invoked in the unopkg script) terminates when searching for java installations.
In particular the call osl_getModuleURLfromAddress seems to be the last call.
That is, a RTL_LOGFILE_TRACE on the next line did not log anything anymore. The
function is called in getJavaProps 
(jvmfwk/plugins/sunmajor/pluginlib/util.cxx). 

Interestingly, the same code works fine when installing with pkgadd, and
partially works with pkgrm. In the latter case, getJavaProps may be called at
least one time (at least on my testing machine) and the second time we stop in
in the function.

I removed the argument -env:UNO_JAVA_JFW_INSTALL  for  unopkg in
instset_native/inc_office/unix/shellscripts_extensions.txt and 
instsetoo_native/inc_openoffice/unix/shellscripts_extensions.txt.

The argument for use in these files is:
"-env:UNO_JAVA_JFW_INSTALL_DATA=\$$ORIGIN/../share/config/javasettingsunopkginstall.xml"

When the argument is used with the postrun service on solaris, then the argument
is "echo"ed into postrun. Therefore there is some more escaping:
"\""-env:UNO_JAVA_JFW_INSTALL_DATA=\\"\$$"ORIGIN/../share/config/javasettingsunopkginstall.xml"\""



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to