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





------- Additional comments from [EMAIL PROTECTED] Wed Apr 11 08:42:30 +0000 
2007 -------
Hi,

I have developped a SWT/JFace (even RCP) application embedding Open Office. This
application is launched via JNLP. I resolved a similar issue by rewriting the
method LocalOfficeConnection.getProgramPath() (package officebean.jar) in order
to give the possibility to provide a system property to locate the Open Office
program path

=== The key snippet in the method is just as follow
mProgramPath = System.getProperty("office.home");
if ( mProgramPath == null ) {
   File path = NativeLibraryLoader.getResource(this.getClass().getClassLoader(),
aExec);
   if (path != null) 
        mProgramPath = path.getParent();
}
===

This code has the advantage to resolve the issue without changing officebean
API. For the moment I must release my own officebean.jar via JNLP, however, I do
not need to override the officebean.jar located in the OpenOffice repository. 
Of course it would be better to include such a code in Open Office release.

regards
Vincent

---------------------------------------------------------------------
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