[dev] hi
hi openoffice team, i am a btech, and willing to help but the problem is that i am a beginner in programming although i have a sound knowledge as a network engg.i have just begun using c++ and want to help but need some assistance at times. thank you for your time. awaiting eager responce -- Thanks and Regards, Ahmed Sayeed. +966540084101
Re: [dev] hi
On Tue, Feb 15, 2011 at 2:21 AM, Ahmed Sayeed ahmed@gmail.com wrote: hi openoffice team, i am a btech, and willing to help but the problem is that i am a beginner in programming although i have a sound knowledge as a network engg.i have just begun using c++ and want to help but need some assistance at times. thank you for your time. awaiting eager responce -- Thanks and Regards, Ahmed Sayeed. +966540084101 I ahmed, I recommend you to join the d...@education.openoffice.org where is a program for aspiring developers in the OpenOffice.org environment. -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org
[dev] ARM port
[Please FU2 d...@education.openoffice.org ] Hello, Anybody working on ARM port ? Or interested to try ? As experimental test, I did the native OOo4Kids build on OMAP3, and work on new features (to be backported in OOo) could constitute a good study case for beginners in OOo source code. Thanks, Eric Bachard -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news
Re: [dev] ARM port
On Tue, 2011-02-15 at 10:15 +0100, eric b wrote: Anybody working on ARM port ? OpenOffice.org is already ported to Linux ARM, oabi and eabi, le and be. C. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] ARM port
Hi Caolan, Le 15 févr. 11 à 10:26, Caolán McNamara a écrit : On Tue, 2011-02-15 at 10:15 +0100, eric b wrote: Anybody working on ARM port ? OpenOffice.org is already ported to Linux ARM, oabi and eabi, le and be. Sure. But the current port is generic and needs some improvements at several places anyway, plus, the current OpenOffice.org is unusable on such machines. To be honest, only a stripped down version like OOoLight or OOo4Kids is today - sort of- correct to my eyes. But even if it works, other issues jump, and my question was more about innovate and search new ideas. Working with students would be even better :) Regards, Eric -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news
[dev] Re: [dev-educ] Re: [dev] ARM port
Hi Ian Looks like I had to moderate your mail (probably not subscribed ?) Le 15 févr. 11 à 10:47, Ian Lynch a écrit : Certainly a version of OOo that works well on ARM technologies is very important for the future. That's one role of the OpenOffice.org Education Project to innovate, and try new tracks. Unfortunaly, we didn't receive too much of support, including lot of promises, but nothing serious ... Regards, Eric P.S. : OO4Kids (not optimized ) is available as pre-installed version for OMAP3 + Angstrom Linux here : http://ftp.educoo.org/home/OOo4Kids/ Linux_ARM/OMAP3/ (provided as it, as experimental try, and you use it at your own risk ) -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news
[dev] Re: [dev-educ] Re: [dev] ARM port
Certainly a version of OOo that works well on ARM technologies is very important for the future. It could even be the case that if there isn't such a thing, the project will become largely irrelevant. On 15 February 2011 09:38, eric b eric.bach...@free.fr wrote: Hi Caolan, Le 15 févr. 11 à 10:26, Caolán McNamara a écrit : On Tue, 2011-02-15 at 10:15 +0100, eric b wrote: Anybody working on ARM port ? OpenOffice.org is already ported to Linux ARM, oabi and eabi, le and be. Sure. But the current port is generic and needs some improvements at several places anyway, plus, the current OpenOffice.org is unusable on such machines. To be honest, only a stripped down version like OOoLight or OOo4Kids is today - sort of- correct to my eyes. But even if it works, other issues jump, and my question was more about innovate and search new ideas. Working with students would be even better :) Regards, Eric -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news -- Ian Ofqual Accredited IT Qualifications The Schools ITQ www.theINGOTs.org +44 (0)1827 305940 You have received this email from the following company: The Learning Machine Limited, Reg Office, 36 Ashby Road, Tamworth, Staffordshire, B79 8AQ. Reg No: 05560797, Registered in England and Wales.
[dev] MacOSX+OOo3.3+Java: howto setup ?
Hi there, trying to figure out the setup needs for OOo 3.3 on MacOSX, if wishing to use Java from the commandline to bootstrap and work with OOo 3.3. Adding the paths to all of the OOo 3.3. jar-files to CLASSPATH does not yield success, as openoffice is not found. What is the correct/designed setup if one wishes to achieve that? Is there a readme or wiki somewhere describing the necessary environment? ---rony - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] ARM port
Hi, On Tue, Feb 15, 2011 at 10:38:15AM +0100, eric b wrote: OpenOffice.org is already ported to Linux ARM, oabi and eabi, le and be. Sure. But the current port is generic and needs some improvements at several places anyway, plus, the current OpenOffice.org is unusable on such machines. Wrong. To be honest, only a stripped down version like OOoLight or OOo4Kids is today - sort of- correct to my eyes. No, there's powerful multi-core ARMs. And there's armhf even mitigating the floating point thing. Grüße/Regards, René - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] ARM port
Le 15 févr. 11 à 11:54, Rene Engelhard a écrit : Hi, Hi René, On Tue, Feb 15, 2011 at 10:38:15AM +0100, eric b wrote: OpenOffice.org is already ported to Linux ARM, oabi and eabi, le and be. Sure. But the current port is generic and needs some improvements at several places anyway, plus, the current OpenOffice.org is unusable on such machines. Wrong. Sorry, but I tend to disagree : can you please tell me the arm version choosen by default in OOo source code ? I'm just working at the optimization and what I see, tells me it's not optimized at all. But I can be wrong, and you'll tell me then ... It is obvious, that the current OpenOffice.org can run (I know) on current ARM, but will be slow as hell on the machine anybody can buy, today. Nobody will use that, and a lot of work is mandatory. Of course, you can acceed experimental boards, or not-public machines, what is different. To be honest, only a stripped down version like OOoLight or OOo4Kids is today - sort of- correct to my eyes. No, there's powerful multi-core ARMs. And there's armhf even mitigating the floating point thing. Yes, but where do you buy such machines *today* ? And so far, the only multi-core ARM I'm aware is the OMAP5 : scheduled somewhere in 2012 The reality, today says : you can buy development boards, including OMAP4 (like Pandaboard), and is not multi-core. Regards, Eric -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news
Re: [dev] ARM port
Hi, Apologies ... Le 15 févr. 11 à 12:08, eric b a écrit : The reality, today says : you can buy development boards, including OMAP4 (like Pandaboard), and is not multi-core. ... I was too fast : PandaBoard is multi core. I have some doubts OOo will use both, but worth a try. Anyway, this will not solve the performance issue at launching time Regards, Eric -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news
Re: [dev] ARM port
On Tue, Feb 15, 2011 at 12:08:47PM +0100, eric b wrote: Sorry, but I tend to disagree : can you please tell me the arm version choosen by default in OOo source code ? I'm just working at Whatever default your compiler does. $ file /usr/lib/ure/lib/libuno_sal.so.3 /usr/lib/ure/lib/libuno_sal.so.3: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped Nothing per default, yes, though. (Debioan armel targets armv4t anyway, afaicr) the optimization and what I see, tells me it's not optimized at all. But I can be wrong, and you'll tell me then ... Even if you were right, how does it matter? OOo also is optimized only for pentiumpro on i386. And if you wished, you can optimize for whatever ARM you see fit. It is obvious, that the current OpenOffice.org can run (I know) on current ARM, but will be slow as hell on the machine anybody can buy, today. Nobody will use that, and a lot of work is mandatory. Wrong. I tried it on my SheevaPlug, and it's quite usable. Grüße/Regards, René - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] MacOSX+OOo3.3+Java: howto setup ?
On 02/15/11 11:54, Rony G. Flatscher wrote: trying to figure out the setup needs for OOo 3.3 on MacOSX, if wishing to use Java from the commandline to bootstrap and work with OOo 3.3. http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components should be what you are looking for. Not sure how well the automatic detection of an OOo installation part works on Mac OS X, but you can always do that manually via the com.sun.star.lib.loader.unopath Java system property. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] MacOSX+OOo3.3+Java: howto setup ?
On 15.02.2011 13:31, Stephan Bergmann wrote: On 02/15/11 11:54, Rony G. Flatscher wrote: trying to figure out the setup needs for OOo 3.3 on MacOSX, if wishing to use Java from the commandline to bootstrap and work with OOo 3.3. http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components should be what you are looking for. Not sure how well the automatic detection of an OOo installation part works on Mac OS X, but you can always do that manually via the com.sun.star.lib.loader.unopath Java system property. Stephan, thank you very much for your link! Unfortunately, it did not help. Scenario: the program uses Java to load com.sun.star.comp.helper.Bootstrap, which is found. Excercising then the bootstrap method yields the following stack trace: sch... UNEXPECTED error, cannot bootstrap and/or retrieve singletons! *com.sun.star.comp.helper.BootstrapException: no office executable found!* at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:243) at org.oorexx.uno.RgfReflectUNO.setContext(RgfReflectUNO.java:368) at org.oorexx.uno.RgfReflectUNO.findInterfaceWithMember(RgfReflectUNO.java:2387) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rexxla.bsf.engines.rexx.RexxAndJava.invokeMethod(RexxAndJava.java:4826) at org.rexxla.bsf.engines.rexx.RexxAndJava.javaCallBSF(RexxAndJava.java:3590) at org.rexxla.bsf.engines.rexx.RexxAndJava.jniRexxRunProgram(Native Method) at org.rexxla.bsf.engines.rexx.RexxEngine.apply(RexxEngine.java:833) at org.rexxla.bsf.RexxDispatcher.main(RexxDispatcher.java:134) RexxDispatcher.java: Throwable of type 'org.rexxla.bsf.engines.rexx.RexxException' thrown while invoking Rexx: getLocalizedMessage(): [BSF4ooRexx/routine/jniRexxRunProgram(), error 9: 1805 *-* return uno.wrap( .uno~rgfReflectUNO~findInterfaceWithMember( o, name, bReturnString, howMany, .uno~bExtendSearch) ) Error 40 running /usr/bin/UNO.CLS line 1805: Incorrect call to routine Error 40.900: BSF4ooRexx/routine/BSF(), error 3: Java exception occurred: [org.apache.bsf.BSFException: /// Java-exception (RexxAndJava) occurred: [java.lang.reflect.InvocationTargetException], getCause(): [java.lang.NullPointerException] \\\ BSF4ooRexx subfunction invoke: object 'java.lang.Class@196c1b0' - method [FINDINTERFACEWITHMEMBER], method not found or error (exception) executing method!]] Now according to the description in the wiki your link points to, I added the path to soffice to PATH: PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Applications/OpenOffice.org.app/Contents/program doing which soffice yields successfully: /Applications/OpenOffice.org.app/Contents/program/soffice ... and because it did not change the behaviour added a UNO_PATH environment variable: UNO_PATH=/Applications/OpenOffice.org.app/Contents/program The jar-files seem to have been found (as it is possible to load and use the com.sun.star.comp.helper.Bootstrap Java class. Here the shell script to set the environment: export PATH=$PATH:/Applications/OpenOffice.org.app/Contents/program OOOJAVA=/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/share/java export CLASSPATH=$CLASSPATH:$OOOJAVA/juh.jar:$OOOJAVA/jurt.jar:$OOOJAVA/ridl.jar:$OOOJAVA/java_uno.jar:$OOOJAVA/unoloader.jar export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib This is about running a program that works on Windows and various Linuxes. As MacOSX has quite a few specific needs applications reside in a directory (shown as a single file) under /Applications. Looking into OpenOffice.org.app the structure includes symbolic links (looking like criss-cross, but within the OpenOffice.org.app subdirectories). Maybe there is some little piece of information missing, to get com.sun.star.comp.helper.Bootstrap's bootstrap method to find its executable? Would you have any ideas, pointers, links that I could experiment with? TIA ---rony P.S.: here's the uname -a output in case it matters (MacOSX 10.6.6): Darwin abt-wi-031.wu-wien.ac.at 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
Re: [dev] ARM port
Hi Rene, Le 15 févr. 11 à 13:19, Rene Engelhard a écrit : On Tue, Feb 15, 2011 at 12:08:47PM +0100, eric b wrote: Sorry, but I tend to disagree : can you please tell me the arm version choosen by default in OOo source code ? I'm just working at Whatever default your compiler does. $ file /usr/lib/ure/lib/libuno_sal.so.3 /usr/lib/ure/lib/libuno_sal.so.3: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped Yes : armv1 is default Nothing per default, yes, though. (Debioan armel targets armv4t anyway, afaicr) Indeed : I read that recently when I searched what could be installed on my BeaglBoard. the optimization and what I see, tells me it's not optimized at all. But I can be wrong, and you'll tell me then ... Even if you were right, how does it matter? OOo also is optimized only for pentiumpro on i386. And if you wished, you can optimize for whatever ARM you see fit. What I want to say, is : - provide OOo for arm version prior to v6 does not really make sense, because too slow, not enough or embedded ram and so on. - starting v6, or even v7, is a good compromise More precisely, starting armv6 version, the efficiency improved a lot. To provide some figures, doing the test myself, using armv7 flags, decreased the binary size from 3 to 5% (average value). Now that bad, when we know OOo size on the disk. It is obvious, that the current OpenOffice.org can run (I know) on current ARM, but will be slow as hell on the machine anybody can buy, today. Nobody will use that, and a lot of work is mandatory. Wrong. I tried it on my SheevaPlug, and it's quite usable. Is it me, or there is no monitor output ? The BeagleBoard is not that powerfull, but is hdmi capable. thanks a lot for the link though. Regards, Eric -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news
Re: [dev] MacOSX+OOo3.3+Java: howto setup ?
In the meantime I experimented with the Java system variable com.sun.star.lib.loader.unopath to no avail. The most important settings used were: propName=com.sun.star.lib.loader.unopath propValue=/Applications/OpenOffice.org.app/Contents/MacOS propValue=/Applications/OpenOffice.org.app/Contents/program propValue=/Applications/OpenOffice.org.app propValue=/Applications/OpenOffice.org.app/Contents/basis-link/program propValue=/Applications/OpenOffice.org.app/Contents/basis-link ---rony On 15.02.2011 16:27, rony wrote: On 15.02.2011 13:31, Stephan Bergmann wrote: On 02/15/11 11:54, Rony G. Flatscher wrote: trying to figure out the setup needs for OOo 3.3 on MacOSX, if wishing to use Java from the commandline to bootstrap and work with OOo 3.3. http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components should be what you are looking for. Not sure how well the automatic detection of an OOo installation part works on Mac OS X, but you can always do that manually via the com.sun.star.lib.loader.unopath Java system property. Stephan, thank you very much for your link! Unfortunately, it did not help. Scenario: the program uses Java to load com.sun.star.comp.helper.Bootstrap, which is found. Excercising then the bootstrap method yields the following stack trace: sch... UNEXPECTED error, cannot bootstrap and/or retrieve singletons! *com.sun.star.comp.helper.BootstrapException: no office executable found!* at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:243) at org.oorexx.uno.RgfReflectUNO.setContext(RgfReflectUNO.java:368) at org.oorexx.uno.RgfReflectUNO.findInterfaceWithMember(RgfReflectUNO.java:2387) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rexxla.bsf.engines.rexx.RexxAndJava.invokeMethod(RexxAndJava.java:4826) at org.rexxla.bsf.engines.rexx.RexxAndJava.javaCallBSF(RexxAndJava.java:3590) at org.rexxla.bsf.engines.rexx.RexxAndJava.jniRexxRunProgram(Native Method) at org.rexxla.bsf.engines.rexx.RexxEngine.apply(RexxEngine.java:833) at org.rexxla.bsf.RexxDispatcher.main(RexxDispatcher.java:134) RexxDispatcher.java: Throwable of type 'org.rexxla.bsf.engines.rexx.RexxException' thrown while invoking Rexx: getLocalizedMessage(): [BSF4ooRexx/routine/jniRexxRunProgram(), error 9: 1805 *-* return uno.wrap( .uno~rgfReflectUNO~findInterfaceWithMember( o, name, bReturnString, howMany, .uno~bExtendSearch) ) Error 40 running /usr/bin/UNO.CLS line 1805: Incorrect call to routine Error 40.900: BSF4ooRexx/routine/BSF(), error 3: Java exception occurred: [org.apache.bsf.BSFException: /// Java-exception (RexxAndJava) occurred: [java.lang.reflect.InvocationTargetException], getCause(): [java.lang.NullPointerException] \\\ BSF4ooRexx subfunction invoke: object 'java.lang.Class@196c1b0' - method [FINDINTERFACEWITHMEMBER], method not found or error (exception) executing method!]] Now according to the description in the wiki your link points to, I added the path to soffice to PATH: PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Applications/OpenOffice.org.app/Contents/program doing which soffice yields successfully: /Applications/OpenOffice.org.app/Contents/program/soffice ... and because it did not change the behaviour added a UNO_PATH environment variable: UNO_PATH=/Applications/OpenOffice.org.app/Contents/program The jar-files seem to have been found (as it is possible to load and use the com.sun.star.comp.helper.Bootstrap Java class. Here the shell script to set the environment: export PATH=$PATH:/Applications/OpenOffice.org.app/Contents/program OOOJAVA=/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/share/java export CLASSPATH=$CLASSPATH:$OOOJAVA/juh.jar:$OOOJAVA/jurt.jar:$OOOJAVA/ridl.jar:$OOOJAVA/java_uno.jar:$OOOJAVA/unoloader.jar export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/lib This is about running a program that works on Windows and various Linuxes. As MacOSX has quite a few specific needs applications reside in a directory (shown as a single file) under /Applications. Looking into OpenOffice.org.app the structure includes symbolic links (looking like criss-cross, but within the OpenOffice.org.app subdirectories). Maybe there is some little piece of information missing, to get com.sun.star.comp.helper.Bootstrap's bootstrap method to find its
[dev] Partially solved (Re: [dev] MacOSX+OOo3.3+Java: howto setup ?
Partially solved! The CLASSPATH-environment variable must also have the directory listed, in which soffice resides. The shell script to create the needed environment on Apple looks like: UNO_PATH=/Applications/OpenOffice.org.app/Contents/program export PATH=$PATH:$UNO_PATH OOOJAVA=/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/share/java export CLASSPATH=$CLASSPATH:*$UNO_PATH*:$OOOJAVA/juh.jar:$OOOJAVA/jurt.jar:$OOOJAVA/ridl.jar:$OOOJAVA/java_uno.jar:$OOOJAVA/unoloader.jar It is now possible to start OOo employing the OOo Java APIs. --- There is one problem (not occurring on Windows and Linux) left, which maybe someone has an idea about: [java.lang.reflect.InvocationTargetException], getCause(): [com.sun.star.lang.DisposedException: com.sun.star.uno.RuntimeException: java.lang.ClassNotFoundException: com.sun.star.frame.XDesktop] \\\ BSF4ooRexx subfunction invoke: object 'java.lang.Class@1db699b' - method [FINDINTERFACEWITHMEMBER], method not found or error (exception) executing method!]] The flow is as follows: * after bootstrapping the received context is stored in a Java class which uses the context later for reflection, * then the com.sun.star.frame.Desktop service object is created with that context, * then the XDesktop interface is queried using reflection; this is where the error occurs: o unwrapping the wrapped exceptions (with getCause()) yields the string: + com.sun.star.lang.DisposedException: com.sun.star.uno.RuntimeException: java.lang.ClassNotFoundException: com.sun.star.frame.XDesktop If it is a disposed exception, then the cached context or the service object are candidates for that to occur. However, on Windows and Linux this does not happen as there are (global) references to these Java objects which should inhibit any disposals. TIA, ---rony On 15.02.2011 16:27, rony wrote: On 15.02.2011 13:31, Stephan Bergmann wrote: On 02/15/11 11:54, Rony G. Flatscher wrote: trying to figure out the setup needs for OOo 3.3 on MacOSX, if wishing to use Java from the commandline to bootstrap and work with OOo 3.3. http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components should be what you are looking for. Not sure how well the automatic detection of an OOo installation part works on Mac OS X, but you can always do that manually via the com.sun.star.lib.loader.unopath Java system property. Stephan, thank you very much for your link! Unfortunately, it did not help. Scenario: the program uses Java to load com.sun.star.comp.helper.Bootstrap, which is found. Excercising then the bootstrap method yields the following stack trace: sch... UNEXPECTED error, cannot bootstrap and/or retrieve singletons! *com.sun.star.comp.helper.BootstrapException: no office executable found!* at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:243) at org.oorexx.uno.RgfReflectUNO.setContext(RgfReflectUNO.java:368) at org.oorexx.uno.RgfReflectUNO.findInterfaceWithMember(RgfReflectUNO.java:2387) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rexxla.bsf.engines.rexx.RexxAndJava.invokeMethod(RexxAndJava.java:4826) at org.rexxla.bsf.engines.rexx.RexxAndJava.javaCallBSF(RexxAndJava.java:3590) at org.rexxla.bsf.engines.rexx.RexxAndJava.jniRexxRunProgram(Native Method) at org.rexxla.bsf.engines.rexx.RexxEngine.apply(RexxEngine.java:833) at org.rexxla.bsf.RexxDispatcher.main(RexxDispatcher.java:134) RexxDispatcher.java: Throwable of type 'org.rexxla.bsf.engines.rexx.RexxException' thrown while invoking Rexx: getLocalizedMessage(): [BSF4ooRexx/routine/jniRexxRunProgram(), error 9: 1805 *-* return uno.wrap( .uno~rgfReflectUNO~findInterfaceWithMember( o, name, bReturnString, howMany, .uno~bExtendSearch) ) Error 40 running /usr/bin/UNO.CLS line 1805: Incorrect call to routine Error 40.900: BSF4ooRexx/routine/BSF(), error 3: Java exception occurred: [org.apache.bsf.BSFException: /// Java-exception (RexxAndJava) occurred: [java.lang.reflect.InvocationTargetException], getCause(): [java.lang.NullPointerException] \\\ BSF4ooRexx subfunction invoke: object 'java.lang.Class@196c1b0' - method [FINDINTERFACEWITHMEMBER], method not found or error (exception) executing method!]] Now according to the description in the wiki your link points to, I added the path to soffice to PATH:
[dev] Solved (Re: [dev] Partially solved (Re: [dev] MacOSX+OOo3.3+Java: howto setup ?
Using the following shell script to set up the CLASSPATH environment variable on MacOSX solved the problem finally: UNO_PATH=/Applications/OpenOffice.org.app/Contents/program OOOJAVA=/Applications/OpenOffice.org.app/Contents/basis-link/ure-link/share/java export CLASSPATH=$CLASSPATH:$UNO_PATH:$OOOJAVA/juh.jar:$OOOJAVA/jurt.jar:$OOOJAVA/ridl.jar export CLASSPATH=$CLASSPATH:/Applications/OpenOffice.org.app/Contents/basis-link/program/classes/unoil.jar ---rony
[dev] MacOSX: ScirptingFramework's Edit ...
Hi there, in the meantime it has become possible to install an oxt-package that adds ooRexx as a new macro language to OOo on the MacOSX. The tested ooRexx scripts run correctly, it is possible to create new macros (Tools - Macros - Organize Macros - ooRexx, then Run or Create, which creates a new ooRexx macro from the template in the oxt-package). However choosing Edit does not work, nothing happens. Edit should invoke a JFrame editor which allows one to look over a macro, change it and run it from the editor window. The same oxt-package works unchanged with the Edit-functionality on Windows and Linux. Any ideas what could be the reason? Where would I find any logs on MacOSX relating to such a problem (where is OOo logging errors to on that platform)? ---rony - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org