Re: [dev] Genuine OOo in distributions ? (Re: [dev] OOo installation packages for Linux, a few (easy) questions
Hi René, sorry that it took a while to get back, but I got totally carried away changing/enhancing the installation scripts and had to get everything into sync again, before coming back to check out and analyze the problem with the Ubuntu distribution. Here's to what boils it down: * Using latest 64-bit Ubuntu, having everything updated to today, * Running an ooRexx script which uses the OOo/UNO Java bridge to interact with OOo, yielding the following error: 40 *-* xContext = UNO.connect() -- connect to server and retrieve the XContext object REX0040E: Error 40 running /usr/bin/UNO.CLS line 1804: Incorrect call to routine REX0634E: Error 40.900: BSF4ooRexx/routine/BSF(), error 3: Java exception occurred: [org.apache.bsf.BSFException: /// Java-exception (RexxAndJava) occurred: [java.lang.reflect.InvocationTargetException], g*etCause(): [java.lang.UnsatisfiedLinkError: com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I*] \\\?BSF4ooRexx subfunction invoke: object 'java.lang.cl...@593d93f4' - method [FINDINTERFACEWITHMEMBER], method not found or error (exception) executing method!] Uninstalling the Ubuntu OOo and instead installing the genuine OOo, downloaed from http://OpenOffice.org/download, installing it and running the very same program works without an error! In the case it matters, here is the CLASSPATH setting for the Ubuntu OOo: /opt/BSF4ooRexx/bsf-v400-20090910.jar:/opt/BSF4ooRexx/bsf-rexx-engine.jar:.::/usr/lib/openoffice/program/../basis-link/ure-link/share/java/ridl.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/jurt.jar:/usr/lib/openoffice/program/../basis-link/ure-link/share/java/juh.jar:/usr/lib/openoffice/program/../basis-link/program/classes/unoil.jar:/usr/lib/openoffice/progra The genuine OOo will have practically the same setting, except that its directory would be pointed to: /opt/openoffice.org3/program/../basis-link/ure-link/share/java/*. HTH, ---rony On 17.08.2010 21:32, rony wrote: Hi René, On 17.08.2010 21:05, Rene Engelhard wrote: On Mon, Aug 16, 2010 at 06:49:24PM +0200, rony wrote: (Due to a package that excercises the Java-UNO-bridge I have stumbled over Ubuntu's distro which seems to be broken in that area and read Where exactly? (Ubuntu borrows my packages and breaks them at times, but what you experience could also be bug in Debian, so...) I noticed that in the Java bindings when trying to install the ooRexx scripting framework (which extends from OOo's Java scirpting framework and which macros get dispatched via this Java infrastructure). Have one 64-bit Ubuntu untampered which I will take a closer look tomorrow evening, trying to come up with more (hopefully useful) pointers. about other distributions that at least used to cripple OOo by removing some if not all of the genuine Java support). used to is right, I think nowadays all ship it compiled with OpenJDK at least on mainstream architectures. (Or use Sun JDK, which truly free distros of course cannot use). Grüße/Regards, ---rony - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] unopkg - question about shared-extension-desc.xml
Hi Joachim, Registration of shared and bundled extensions occurrs now at startup and must be done for every user individually. See http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/The_Active_Extension ok, i added issue http://www.openoffice.org/issues/show_bug.cgi?id=113899, cause i don't think a user should be able to uninstall a shared extension via unopkg regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
[dev] I have a blank Calc document that shows red text in 3.3
Can someone please check a .ods on the latest version they have? I have go-oo 3.3.0.2.20100731. The file to test is at: http://lockie.ca/test/redtextbug.ods.zip It is a blank file the shows vertical red text (that used to be there as horizontal text in a cell). - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] XInitialization
Hello Jan, On Sunday 22 August 2010, 02:53, Jan private wrote: hello, I have written a C++ component, which works fine. But just recently I noticed that void SAL_CALL myComponent::initialize( const Sequence Any aArguments ) throw ( Exception, RuntimeException) is called four times after running openoffice.org -writer before the empty writer document opens. what kind of component have you written? Regards -- Ariel Constenla-Haile La Plata, Argentina signature.asc Description: This is a digitally signed message part.
Re: [dev] Re: building openoffice problem
On Fri, Aug 20, 2010 at 09:30:40PM +0200, eric b wrote: Hi, Le 20 août 10 à 20:54, Soohong Min a écrit : Did you move the sources or modified the directories names since the first time you did configure ? Yes. I moved the sources to other computer. If so, how can I match with the environment variables contained in the LinuxX86Env.Set.sh? Redo configure (using the same options as the first time), will regenerate a new LinuxX86Env.Set.sh Another option is: cd your oo.o dir ./solenv/bin/relocate `pwd` This updates bootstrap, Linux*Env.Set* and dependency files in already built modules. D. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] XInitialization
Hello Ariel, I have written a C++ component, which works fine. But just recently I noticed that void SAL_CALL myComponent::initialize( const Sequence Any aArguments ) throw ( Exception, RuntimeException) is called four times after running openoffice.org -writer before the empty writer document opens. what kind of component have you written? I am not sure what information you need. Here is the class definition (C ++, Linux x86) and the relevant method: class iMath : public cppu::WeakImplHelper6 XDispatchProvider, XDispatch, XInitialization, XServiceInfo, XDialogEventHandler, XContainerWindowEventHandler { public: // XInitialization virtual void SAL_CALL initialize (const ::com::sun::star::uno::Sequence ::com::sun::star::uno::Any aArguments) throw (Exception, RuntimeException); } and its implementation: void SAL_CALL iMath::initialize( const Sequence Any aArguments ) throw ( Exception, RuntimeException) { // Get the service manager for later use mxMCF = mxCC-getServiceManager(); // get the frame for later use Reference XFrame xFrame; if (aArguments.getLength()) { aArguments[0] = xFrame; mxFrame = xFrame; } // Create the toolkit to have access to it later mxToolkit = Reference XToolkit ( mxMCF-createInstanceWithContext(OUString( RTL_CONSTASCII_USTRINGPARAM(com.sun.star.awt.Toolkit )), mxCC), UNO_QUERY_THROW ); // Here comes custom initialization for the component omitted // And this tells me about the multiple calls: std::cout iMath::initialize called std::endl; } Is that what you were asking for? Regards, Jan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org