Re: [api-dev] AddOn works on Windows but not on Linux

2010-11-04 Thread Stephan Bergmann
On 11/03/10 19:00, Martin Dobiasch wrote: Please tell me, how i file an issue, so that i don't make any stupid things see http://qa.openoffice.org/ooQAReloaded/ooQA-ReportBugs.html -Stephan - To unsubscribe, e-mail:

RE: [api-dev] AddOn works on Windows but not on Linux

2010-11-03 Thread Martin Dobiasch
. Martin -Original Message- From: so-ham02-newsgate...@sun.com [mailto:so-ham02-newsgate...@sun.com] On Behalf Of Stephan Bergmann Sent: Thursday, October 21, 2010 9:33 AM To: dev@api.openoffice.org Subject: Re: [api-dev] AddOn works on Windows but not on Linux On 10/20/10 18:43

Re: [api-dev] AddOn works on Windows but not on Linux

2010-10-21 Thread Stephan Bergmann
as possible and file an issue. -Stephan -Original Message- From: Oliver Brinzing [mailto:oliver.brinz...@gmx.de] Sent: Wednesday, October 20, 2010 6:32 PM To: dev@api.openoffice.org Subject: Re: [api-dev] AddOn works on Windows but not on Linux Hi Are you sure that location is already

Re: [api-dev] AddOn works on Windows but not on Linux

2010-10-21 Thread Stephan Bergmann
On 10/20/10 18:26, Martin Dobiasch wrote: // assuming that PackagePath shall denote a URL For me it should be the path where the package is located, because I have to provide a tool with my package. You could use com.sun.star.lib.util.UrlToFileMapper, then. -Stephan

RE: [api-dev] AddOn works on Windows but not on Linux

2010-10-20 Thread Martin Dobiasch
Hi, It should be possible to learn that from the differences? I tried that, but i can't see a real difference. The old file contained A not used ImageIdentifier for the entries, and the name was different I've uploaded them: http://web.student.tuwien.ac.at/~e0828302/Addons.xcu (new)

Re: [api-dev] AddOn works on Windows but not on Linux

2010-10-20 Thread Stephan Bergmann
On 10/20/10 07:57, Martin Dobiasch wrote: I'm having one major problem: I need to provide some tools with my extension. To run them I try to detect the location of my package in the filesystem. With Windows no problem. On Linux if the package the path is always empty. My code, runs without an

[api-dev] AddOn works on Windows but not on Linux

2010-10-20 Thread Akila Wajirasena
Hi, I had the same problem when I was doing my GSoC project with Creative Commons. I found a workaround for that. When the extension is installed from the terminal it will work. /usr/lib/openoffice/program/unopkg gui -f extension.oxt (http://wiki.creativecommons.org/OpenOfficeOrg_Addin) Some

RE: [api-dev] AddOn works on Windows but not on Linux

2010-10-20 Thread Martin Dobiasch
Are you sure that location is already an empty string, or do you only observe that PackagePath below is an empty string? It was an assumption, but it turned out, that location is an empty string. // assuming that PackagePath shall denote a URL For me it should be the path where the package

Re: [api-dev] AddOn works on Windows but not on Linux

2010-10-20 Thread Oliver Brinzing
Hi Are you sure that location is already an empty string, or do you only observe that PackagePath below is an empty string? there is an open issue: Package Information Provider may deliver wrong urls http://www.openoffice.org/issues/show_bug.cgi?id=113752 Oliver -- GnuPG key 0xCFD04A45:

RE: [api-dev] AddOn works on Windows but not on Linux

2010-10-20 Thread Martin Dobiasch
, October 20, 2010 6:32 PM To: dev@api.openoffice.org Subject: Re: [api-dev] AddOn works on Windows but not on Linux Hi Are you sure that location is already an empty string, or do you only observe that PackagePath below is an empty string? there is an open issue: Package Information

Re: [api-dev] AddOn works on Windows but not on Linux

2010-10-19 Thread Cor Nouws
Hi Martin, Martin Dobiasch wrote (18-10-10 15:24) My AddOn works fine on Windows but when i try to test it with Ubuntu im not able to even see the toolbar. I'm using same version of OpenOffice on both systems. I can install the extension without problems. What could be wrong with my AddOn?

RE: [api-dev] AddOn works on Windows but not on Linux

2010-10-19 Thread Martin Dobiasch
, October 18, 2010 7:57 PM To: dev@api.openoffice.org Subject: Re: [api-dev] AddOn works on Windows but not on Linux Hi Martin, Martin Dobiasch wrote (18-10-10 15:24) My AddOn works fine on Windows but when i try to test it with Ubuntu im not able to even see the toolbar. I'm using same

[api-dev] AddOn works on Windows but not on Linux

2010-10-18 Thread Martin Dobiasch
Hi! My AddOn works fine on Windows but when i try to test it with Ubuntu im not able to even see the toolbar. I'm using same version of OpenOffice on both systems. I can install the extension without problems. What could be wrong with my AddOn? Thanks, Martin