[Libreoffice] About InstallationFinder (sdk, Java), an API question.

Fridrich Strba fstrba at novell.com
Tue Oct 5 08:12:26 PDT 2010


Fixed and pushed the registry key modification.  As to the soffice.exe
executable, to change its name is not critical and doing so might
actually create quite number of problems because it is hardcoded quite
all around the code. On Windows, you just click and the right things
starts, on linux there are symlinks available :)

Cheers 

Fridrich

On Tue, 2010-10-05 at 15:02 +0200, Giuseppe Castagno wrote:
> Hi all,
> 
> I'm just browsing the code, so may be I'm plain wrong with this, but,
> anyway here it is.
> 
> Please have a look here:
> 
> http://opengrok.go-oo.org/xref/sdk/odk/source/com/sun/star/lib/loader/InstallationFinder.java#193
> 
> This function can be used to detect where LibO is installed, if I recall
> correctly, this particular one is the code that can be used in Windows,
> in Java.
> 
> If I'm not mistaken as it's there, it points to a OOo installation instead.
> 
> So may be this line:
> 
> http://opengrok.go-oo.org/xref/sdk/odk/source/com/sun/star/lib/loader/InstallationFinder.java#195
> 
> should contain LibreOffice instead of OpenOffice.org.
> 
> I know it could be a bit early to points this out, but perhaps this
> should be changed.
> 
> For Linux, line:
> 
> http://opengrok.go-oo.org/xref/sdk/odk/source/com/sun/star/lib/loader/InstallationFinder.java#74
> 
> has a "soffice", shouldn't it be "libreoffice" ?
> 
> Since I'm not sure, can someone check this?
> 
> Beppec56
> 




More information about the LibreOffice mailing list