[dev] cannot install java extension on ubuntu 10.04 (oo 3.2)
Hi, i tried to install some of my java extensions on ubuntu 10.04 (oo 3.2) but failed, it seems all extensions with *.jar files refuse to install ... any hints ? Oliver u...@notebook:/usr/lib/openoffice/program$ sudo unopkg add ./../share/uno_packages/sun-report-builder.oxt --shared --verbose Copying: sun-report-builder.oxt Enabling: Sun Report Builder Enabling: DbReportWindowState.xcs Enabling: ReportCommands.xcs Enabling: ReportDesign.xcs Enabling: sun-report-builder.jar ERROR: (com.sun.star.deployment.DeploymentException) { { Message = An error occurred while enabling: sun-report-builder.jar, Context = (com.sun.star.uno.XInterface) @9f37998 }, Cause = (any) { (com.sun.star.registry.CannotRegisterImplementationException) { { Message = , Context = (com.sun.star.uno.XInterface) @0 } } } } rollback... Disabling: ReportDesign.xcs Disabling: ReportCommands.xcs Disabling: DbReportWindowState.xcs rollback finished. An error occurred while enabling: sun-report-builder.jar -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
Re: [dev] cannot install java extension on ubuntu 10.04 (oo 3.2)
On Sun, 23 May 2010 13:55:43 +0200 Oliver Brinzing oliver.brinz...@gmx.de wrote: Hi, i tried to install some of my java extensions on ubuntu 10.04 (oo 3.2) but failed, it seems all extensions with *.jar files refuse to install ... any hints ? Have you installed openoffice.org-java-common package? Oliver u...@notebook:/usr/lib/openoffice/program$ sudo unopkg add ./../share/uno_packages/sun-report-builder.oxt --shared --verbose Copying: sun-report-builder.oxt Enabling: Sun Report Builder Enabling: DbReportWindowState.xcs Enabling: ReportCommands.xcs Enabling: ReportDesign.xcs Enabling: sun-report-builder.jar ERROR: (com.sun.star.deployment.DeploymentException) { { Message = An error occurred while enabling: sun-report-builder.jar, Context = (com.sun.star.uno.XInterface) @9f37998 }, Cause = (any) { (com.sun.star.registry.CannotRegisterImplementationException) { { Message = , Context = (com.sun.star.uno.XInterface) @0 } } } } rollback... Disabling: ReportDesign.xcs Disabling: ReportCommands.xcs Disabling: DbReportWindowState.xcs rollback finished. An error occurred while enabling: sun-report-builder.jar -- Regards, Konstantin - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] cannot install java extension on ubuntu 10.04 (oo 3.2)
Hi Konstantin, Have you installed openoffice.org-java-common package? no, i tried to install my extensioin with oo 3.2 (which is shipped with ubuntu 10.04) should i replace open jdk with sun-java6 ? Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
Re: [dev] cannot install java extension on ubuntu 10.04 (oo 3.2)
Hello Oliver, On Sunday 23 May 2010, 09:22, Oliver Brinzing wrote: Hi Konstantin, Have you installed openoffice.org-java-common package? no, i tried to install my extensioin with oo 3.2 (which is shipped with ubuntu 10.04) should i replace open jdk with sun-java6 ? there is no need to replace the OpenJDK, simply $ sudo aptitude install openoffice.org-java-common Regards -- Ariel Constenla-Haile La Plata, Argentina signature.asc Description: This is a digitally signed message part.
Re: [dev] cannot install java extension on ubuntu 10.04 (oo 3.2)
Hi Ariel, Hi Konstantin, $ sudo aptitude install openoffice.org-java-common ok, it seems to work now, but there is another problem with my extensions: on windows i placed some *.jar files in C:\Program Files\OpenOffice.org\share\uno_packages. my java extensions have a manifest.mf like: Manifest-Version: 1.0 RegistrationClassName: my.extension.comp.ServiceProvider UNO-Type-Path: ./../../../../my-idl-types.jar Class-Path: ./ ./../../../../my-helper.jar with ubuntu unopkg add ... fails again - so i replaced the relative paths ./../../../../ with /home/user/jars/ (for example) - now unopkg add ... installs ... Regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
Re: [dev] How to run quickstarter?
On Sat, 2010-05-22 at 12:25 -0300, Ariel Constenla-Haile wrote: Hello Terrence, On Saturday 22 May 2010, 11:37, Terrence Enger wrote: I am running 32-bit mode. I expect the effect is the same. `diff` reports that the download is the same. sure it was cached in your browser. Right you are. I thought about this, but FireFox download history showed *two* dowloads, silly me presumed that meant that it had downloaded the file a second time. This morning I cleared my browser cacher, and the link delivered a different file. An attempt to install only for me gives a message similar to the one below. Try with http://arielch.fedorapeople.org/devel/ooo/extensions/QuickStartFixer_Linux_x86.oxt Uh oh. This time my attempt to install only for me displays a message box, give or take my retyping, ... loading component library failed: file:///home/terry/OOo_hacking/localbuild/openoffice.org3/program/../.openoffice.org/3/user/uno_packages/cache/uno_packages/giOaFu_/QuickStartFixer_Linux_x86.oxt/Linux_x86/QuickStartFixer.uno.so and trying to install for all users gives a superficially similar message. The named file exists, permissions -rw-r--r--, 282635 bytes. I am sorry to be a nuisance. Any further suggestions? I have a non-product build with debugging symbols, in case that suggests any way I can help. Cheers, Terry. Regards - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] How to run quickstarter?
Hello Terrence, On Sunday 23 May 2010, 14:15, Terrence Enger wrote: Uh oh. This time my attempt to install only for me displays a message box, give or take my retyping, ... loading component library failed: file:///home/terry/OOo_hacking/localbuild/openoffice.org3/program/../.open office.org/3/user/uno_packages/cache/uno_packages/giOaFu_/QuickStartFixer_L inux_x86.oxt/Linux_x86/QuickStartFixer.uno.so and trying to install for all users gives a superficially similar message. The named file exists, permissions -rw-r--r--, 282635 bytes. I am sorry to be a nuisance. Any further suggestions? I have a non-product build with debugging symbols, in case that suggests any way I can help. quite strange... it builds (with the OOo SDK build env.) fine and also works for me on Fedora and Ubuntu (32 and 64 bits). you can try doing it by yourself, or compile it by yourself. Basically the extension is css.task.Job implementation, that OnStartApp initializes the quickstart service (com.sun.star.office.Quickstart) so that it is enabled (a horrible hack and very implementation specific) http://arielch.fedorapeople.org/devel/ooo/extensions/src/QuickStartFixer.tar.gz you need the OOo SDK environ. to compile it. If the following 2 steps do not work: ]$ source ~/openoffice.org3.3_sdk/localhost/setsdkenv_unix.sh ]$ make DEBUG=yes PRJ=$OO_SDK_HOME run you may need to modify some settings in the Makefile. Regards -- Ariel Constenla-Haile La Plata, Argentina signature.asc Description: This is a digitally signed message part.