OpenOffice.org & Eclipse
News
- The OpenOffice.org development plugin for Eclipse is still alive - February 19, 2006
- OOoEclipseIntegration release 1.0.3 - June 26, 2006
- OOEclipseIntegration release 1.0.3.a - August 20, 2006
- uno-skeletonmaker in OOo Eclipse Integration - November 15, 2006
- OOoEclipseIntegration, a preview - December 8, 2006
- OpenOffice.org Eclipse Integration v1.1 released - January 16, 2007
- OOEclipseIntegration on EclipsePluginCentral - February 1, 2007
- Conf at SolutionLinux, slides - February 2, 2007
- OOEclipseIntegration: subcomponent in IZ - February 6, 2007
- Debugging an OOo extension with Eclipse - November 20, 2007
- Quality for the OOEclipseIntegration - November 25, 2007
- Why my blog has been down - February 11, 2008
- No hope for the Eclipse Integration ? - February 21, 2008
- OOo integration tips - September 7, 2008
- OOo integration tips (2) - September 17, 2008
- Eclipse integration and OOo 3 - December 2, 2008
- OOEclipse sources moved to git - May 28, 2009
- Hackweek on OOEclipse - August 3, 2009
- OOEclipse on Ohloh - September 25, 2009
- OOEclipse version 1.1.2 moved to stable - October 1, 2009
- Create an OpenOffice.org Java client in a few seconds - October 9, 2009
- A new OOEclipse developer - October 12, 2009
Download
An installation tutorial explains the installation of the plugin step by step, please report to this page for more installation informations.
The plugin can be installed using the following update sites:
- stable (but sometimes old)
- dev (but not completely tested)
Source code
After having long been hosted by OpenOffice.org API project, the sources of the eclipse integration have moved on an ooo-build Git repository. Here are the instructions to checkout the sources:
For anonymous access:
git clone git://anongit.freedesktop.org/git/ooo-build/contrib/ooeclipse
For developers:
git clone ssh://[username@]git.freedesktop.org/git/ooo-build/contrib/ooeclipse
For those who don’t want to use the command line, here is an eclipse plugin for Git: http://git.or.cz/gitwiki/EclipsePlugin. I haven’t tried it yet, but I would be glad to have some feedback on it or links to other Eclipse plugins.
Here is a useful page for those who are switching from SVN or CVS to Git: http://www.freedesktop.org/wiki/Software/ooo-build/SVNToGitCheatSheet.
Usage tips
Here are some tips on how to use the Eclipse integration of OOo.
- First post. Using the Eclipse Integration with ooo-build. Refactoring the IDL specifications
- Second post. Generating an OXT extension.
![[del.icio.us]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/digg.png)
![[dzone]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/dzone.png)
![[Facebook]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/google.png)
![[Newsvine]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/newsvine.png)
![[Slashdot]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/technorati.png)
![[Yahoo!]](http://cedric.bosdonnat.free.fr/wordpress/wp-content/plugins/bookmarkify/yahoo.png)


Pingback: OpenOffice & Eclipse - Yet another plugin? « chmod 765 -R *
#1 by Philip Ashmore on July 23rd, 2008
Quote
I’m just about to start using this plugin and I noticed in the
“Create a new URE based application.”
dialog that more than one Programming language is possible.
Do you have any plans to provide a C++ language option?
#2 by Cédric on July 23rd, 2008
Quote
Philipp,
The idea is still somewhere in my thoughts but I’m not maintaining it during my nights anymore. That said, this isn’t necessarily complex.
Regards
#3 by PAX on October 16th, 2008
Quote
it seems that this doesn’t work with the new SDK 3.0.
have you some ideas how i can use the new SDK with eclipse?
best regards
#4 by Cédric on October 16th, 2008
Quote
@PAX,
I’m aware that the Eclipse integration doesn’t work with OpenOffice.org 3.0 and it’s SDK due to changes in the installation in three layers. I don’t have much time to work on it now, but I’ll try to fix this ASAP.
Regards
#5 by PAX on October 16th, 2008
Quote
@Cédric
i have installed the sdk 3.0. is there a possibility to integrate it manually? i badly need it for my work. :-(
#6 by Cédric on October 17th, 2008
Quote
@PAX:
In fact this is hardcoded in the plugin. I’ll try to fix this really soon as you aren’t the only one asking for this.
#7 by Jason on October 22nd, 2008
Quote
So, this may sound extremely obvious, but where is the path to the OpenOffice.org installation supposed to point? The reason I ask is because the only OOo installation I can find is /usr/bin, but the plugin keeps telling me that path is invalid. Any suggestions would be helpful. Thanks.
#8 by Cédric on October 22nd, 2008
Quote
Jason:
I guess you are using the ooo-build version (packaged in most Linux distributions). In that case the path to OpenOffice.org is certainly /usr/lib/openoffice. I you are using OOo3, I just remain you that the extension doesn’t support the new installation layers yet.
Cedric
#9 by Kenji on November 3rd, 2008
Quote
I’ve got the same problem that PAX have. If it is possible to solve this problem, it would be a great thing!
Anyway, thanks for your job.
Kenji.
#10 by Robert Westlund on January 16th, 2009
Quote
Cédric,
I know you undoubtedly have a “day job,” and your time is limited, but I have the same issue with OO-SDK 3.0. According to the above comments, you were going to try to expedite this in October. It’s now January 16. Do you perhaps have a beta version I could try? I’m willing to help you debug it. I’m running Eclipse 3.4.1 on Mac OS X 10.5, with the Eclipse plugins: OO dev core 1.1.1, and OO dev support for Java 1.0.1.
I’m looking forward to trying your plugin.
Thanks,
Rob
#11 by Jonathan on January 17th, 2009
Quote
Cédric,
I have the same problem as Jason; I am using OOo 2 (as provided with Debian 4), and, as you suggest, /usr/lib/openoffice is the location where the soffice executable is installed
However, the plugin tells me that this folder is invalid (“Invalid OOo path”); can you tell me what criteria are used by the plugin to determine validity?
Yours,
Jonathan.
#12 by Cédric on January 18th, 2009
Quote
Jonathan:
you need to select the path to the installation of OpenOffice.org which is /usr/lib/openoffice on Debian Etch. The plugin looks for some files, like:
+ program/types.rdb
+ program/services.rdb
+ program/classes directory
+ program/boostraprc
#13 by Cédric on January 18th, 2009
Quote
Rob,
I’ve finally managed to have something working, but not complete yet: getting types from a URE application doesn’t work anymore. I want to fix this before releasing a new version.
I have uploaded a developpement version supporting the new installation layers of OOo 3.x. You can find the update site at the following address:
http://cedric.bosdonnat.free.fr/ooeclipseintegration-dev/
Please don’t hesitate to report the bugs you could have found. You will certainly see that the UNO types selector has changed: you now have to manually refresh it to avoid starting OOo every now and then.
Cedric
#14 by Robert Westlund on January 19th, 2009
Quote
Cédric,
Thanks for the dev version. It allowed me to choose the 3.0 SDK, but only the OO 2.4 install. When I tried to choose OO 3.0, I received an “Invalid OOo path” error. Will the 3.0 SDK even work with a 2.4 install?
On another note, where would you like bugs reported?
Thanks again,
Rob
#15 by Cédric on January 20th, 2009
Quote
Hi Rob,
hum… this seems strange: I could make it work on my machine with a dev version of OpenOffice.org 3.x and the ooo-build-3-0 branch of go-oo build. I haven’t tested with a clean install of the upstream version thought. Could you tell me your platform / version of OOo, the path you have selected and what is inside that folder ?
To report bug, the best is to fill them on OpenOffice.org IssueZilla with these values:
+ Component: sdk
+ SubComponent: eclipse-integration
Here is a link to the new issue form: http://www.openoffice.org/issues/enter_bug.cgi?component=sdk. You only have to select the subcomponent on this page and of course describe the bug ;)
In any case, write the plugins versions in the description as there is no relation with OOo releases.
Cedric
#16 by Jouni Kosonen on January 26th, 2009
Quote
Hi Cedric,
Thanks for providing the dev-version.
I have a situation similar to Robert above – no directory in the OOo 3.0 installation seems to qualify as a valid OOo path. I don’t expect to be able to help in developing the plugin in the immediate future, so I hesitate opening an issue on the openoffice.org tracker for now, but here’s what I have so far.
To me this seems to have something to do with the way URE is located in the installation and the getLibsPath -implementation in the 1.1.2 -version of the plugin.
In the Gentoo openoffice-bin-3.0.0 installation (go-oo version OOO300_m9, I believe) the actual OOo installation directory would likely be referred to as
/usr/lib/openoffice/basis3.0/
that contains directories help, presets, program and share and a soft link ure-link -> ../ure
The actual files that seem to be used for validating the OOo directory are instead situated under /usr/lib/openoffice like this:
ure/share/java/
ure/share/misc/types.rdb
ure/share/misc/services.rdb
program/bootstraprc
that is, none of them are under the basis3.0 tree and the rdb:s are under share/misc instead of program as in the 2.x series.
Creating a ure/program -directory and linking the rdb:s and bootstraprc there allows /usr/lib/openoffice/ure to be selected as the OOo directory and to use the plugin to create a new URE project, but that’s as far as I’ve gone for now.
Best regards,
Jouni
#17 by Cédric on January 26th, 2009
Quote
Hi Jouni,
From the version 3.0.0, OpenOffice.org is installed in three layers:
the URE in the OOO_HOME/basis-link/ure-link directory
the office layer in the OOO_HOME/basis-link directory
the branding layer in the OOO_HOME directory
The eclipse plugin is looking for files in all those three layers… you have to choose the /usr/lib/openoffice directory. The old rdb files have been split in two: that’s why the plugin is searching for rdb files in the URE as well as the basis layer. As the only way to access each layer correctly independently of the distribution is to follow the basis-link and ure-link links (or files if installed on windows), the Eclipse plugin uses them to match the files. If one of these is missing for you, the path will be considered as not an OOo installation one.
Please check that you have the basis-link link in your OOO_HOME and that there is a ure-link in the OOO_HOME/basis-link.
Cedric
#18 by Jouni Kosonen on January 26th, 2009
Quote
Hi Cedric.
I’m almost sure I started with trying that very path, but indeed…
$ export OOO_HOME=/usr/lib/openoffice
$ file /usr/lib ${OOO_HOME} ${OOO_HOME}/basis-link ${OOO_HOME}/basis-link/ure-link
/usr/lib: symbolic link to `lib64′
/usr/lib/openoffice: directory
/usr/lib/openoffice/basis-link: symbolic link to `/usr/lib64/openoffice/basis3.0′
/usr/lib/openoffice/basis-link/ure-link: symbolic link to `../ure’
And that installation really is accepted in the eclipse-3.3 IDE as long as it is selected via “browse” – it’s just writing the path in the field that did not work.
Thanks, I think this clears up things on this end.
rgds,
Jouni
#19 by Cédric on January 26th, 2009
Quote
Hi Jouni,
I’m glad that it works ;)
Cedric
#20 by Robert Westlund on January 27th, 2009
Quote
Cédric,
Sorry for the delay getting back to you. I had some issues with Eclipse after trying to run an update (Will I never learn?), so I got side-tracked for a bit, and then had to do some work on another project. Anyway, I hope to get back to the OO SDK soon. Until then, to answer your questions:
Mac OS X (10.5.6)
Eclipse 3.4
OpenOffice 3.0.0
On the Mac, OpenOffice follows the Mac packaging structure:
OpenOffice.app -> Contents, which contains the following (from the ls command):
-r--r--r--@ 1 rob admin 39721 Sep 30 08:14 Info.plist
-r--r--r--@ 1 rob admin 43433 Sep 30 08:14 LICENSE
-r--r--r--@ 1 rob admin 43902 Sep 30 08:14 LICENSE.html
-r--r--r--@ 1 rob admin 9 Sep 30 08:14 PkgInfo
-r--r--r--@ 1 rob admin 11061 Sep 30 08:14 README
-r--r--r--@ 1 rob admin 10485 Sep 30 08:14 README.html
lrwxr-xr-x 1 rob admin 5 Dec 17 16:03 program -> MacOS
Library:
total 0
drwxrwxr-x@ 3 rob admin 102 Sep 30 08:13 Spotlight/
MacOS:
total 1344
-r--r--r--@ 1 rob admin 118614 Sep 30 08:14 about.bmp
-r--r--r--@ 1 rob admin 232 Sep 30 08:21 bootstraprc
-r-xr-xr-x@ 1 rob admin 1530 Sep 30 08:14 crash_report
-r-xr-xr-x@ 1 rob admin 69224 Sep 30 08:14 crash_report.bin
-r--r--r--@ 1 rob admin 986 Sep 30 08:21 fundamentalrc
-r--r--r--@ 1 rob admin 378718 Sep 30 08:14 intro.bmp
drwxrwxr-x@ 3 rob admin 102 Sep 30 08:14 resource/
-r-xr-xr-x@ 1 rob admin 61 Sep 30 08:14 sbase
-r-xr-xr-x@ 1 rob admin 61 Sep 30 08:14 scalc
-r-xr-xr-x@ 1 rob admin 61 Sep 30 08:14 sdraw
-r--r--r--@ 1 rob admin 58 Sep 30 08:21 setuprc
-r-xr-xr-x@ 1 rob admin 64 Sep 30 08:14 simpress
-r-xr-xr-x@ 1 rob admin 61 Sep 30 08:14 smath
-r-xr-xr-x@ 1 rob admin 18288 Sep 30 08:14 soffice
-r-xr-xr-x@ 1 rob admin 17848 Sep 30 08:14 soffice.bin
-r--r--r--@ 1 rob admin 330 Sep 30 08:21 sofficerc
-r-xr-xr-x@ 1 rob admin 63 Sep 30 08:14 swriter
-r-xr-xr-x@ 1 rob admin 1842 Sep 30 08:14 unoinfo
lrwxr-xr-x 1 rob admin 10 Dec 17 16:03 unopkg -> unopkg.bin
-r-xr-xr-x@ 1 rob admin 13628 Sep 30 08:14 unopkg.bin
lrwxr-xr-x 1 rob admin 26 Dec 17 16:03 urelibs -> ../basis-link/ure-link/lib
-r--r--r--@ 1 rob admin 473 Sep 30 08:21 versionrc
Resources:
total 1560
drwxrwxr-x@ 5 rob admin 170 Sep 30 08:20 MainMenu.nib/
drwxrwxr-x@ 72 rob admin 2448 Sep 30 08:20 cursors/
-r--r--r--@ 1 rob admin 10935 Sep 30 08:16 drawing-template.icns
-r--r--r--@ 1 rob admin 11290 Sep 30 08:16 drawing.icns
drwxrwxr-x@ 3 rob admin 102 Sep 30 08:16 en.lproj/
-r--r--r--@ 1 rob admin 39192 Sep 30 08:16 extension.icns
-r--r--r--@ 1 rob admin 10380 Sep 30 08:16 formula.icns
-r--r--r--@ 1 rob admin 45712 Sep 30 08:16 main.icns
-r--r--r--@ 1 rob admin 11003 Sep 30 08:16 master-document.icns
-r--r--r--@ 1 rob admin 53983 Sep 30 08:16 oasis-database.icns
-r--r--r--@ 1 rob admin 53400 Sep 30 08:16 oasis-drawing-template.icns
-r--r--r--@ 1 rob admin 52603 Sep 30 08:16 oasis-drawing.icns
-r--r--r--@ 1 rob admin 50335 Sep 30 08:16 oasis-formula.icns
-r--r--r--@ 1 rob admin 48904 Sep 30 08:16 oasis-master-document.icns
-r--r--r--@ 1 rob admin 51890 Sep 30 08:16 oasis-presentation-template.icns
-r--r--r--@ 1 rob admin 51073 Sep 30 08:16 oasis-presentation.icns
-r--r--r--@ 1 rob admin 51919 Sep 30 08:16 oasis-spreadsheet-template.icns
-r--r--r--@ 1 rob admin 50953 Sep 30 08:16 oasis-spreadsheet.icns
-r--r--r--@ 1 rob admin 49196 Sep 30 08:16 oasis-text-template.icns
-r--r--r--@ 1 rob admin 47545 Sep 30 08:16 oasis-text.icns
-r--r--r--@ 1 rob admin 10690 Sep 30 08:16 presentation-template.icns
-r--r--r--@ 1 rob admin 10947 Sep 30 08:16 presentation.icns
-r--r--r--@ 1 rob admin 10085 Sep 30 08:16 spreadsheet-template.icns
-r--r--r--@ 1 rob admin 10457 Sep 30 08:16 spreadsheet.icns
-r--r--r--@ 1 rob admin 10095 Sep 30 08:16 text-template.icns
-r--r--r--@ 1 rob admin 10401 Sep 30 08:16 text.icns
basis-link:
total 760
-r--r--r--@ 1 rob admin 385278 Sep 30 08:14 THIRDPARTYLICENSEREADME.html
drwxrwxr-x@ 4 rob admin 136 Sep 30 08:15 help/
drwxrwxr-x@ 4 rob admin 136 Sep 30 08:14 licenses/
drwxrwxr-x@ 16 rob admin 544 Sep 30 08:13 presets/
drwxrwxr-x@ 322 rob admin 10948 Sep 30 08:21 program/
drwxrwxr-x@ 4 rob admin 136 Sep 30 08:14 readmes/
drwxrwxr-x@ 17 rob admin 578 Sep 30 08:13 share/
drwxrwxr-x@ 5 rob admin 170 Sep 30 08:13 ure-link/
share:
total 0
drwxrwxr-x@ 3 rob admin 102 Sep 30 08:14 config/
drwxrwxr-x@ 3 rob admin 102 Sep 30 08:13 extension/
drwxrwxr-x@ 6 rob admin 204 Sep 30 08:14 readme/
drwxrwxr-x@ 4 rob admin 136 Sep 30 08:13 registry/
drwxrwxr-x@ 3 rob admin 102 Sep 30 08:13 uno_packages/
#21 by Cédric on January 28th, 2009
Quote
Hi Rob,
Thanks for those informations: knowing you are running macos is really helpful. I’ll try to see if there are some changes in the files that are checked when selecting the OOO version on Mac, apparently I have forgotten something. As I don’t have a mac to test, will you be ok to help me for the tests?
There is another point on macos: when I tested it, there were problems with the unopkg program. Then the extension deployment isn’t possible from the Eclipse plugin. This has to be checked again as changes are occuring quickly in the macos port.
Cedric
#22 by Robert Westlund on January 29th, 2009
Quote
Cédric,
I will be happy to help test, but you should be aware that, although I have fairly extensive development experience, I am a complete newbie with the OpenOffice SDK and UNO. I have only used Eclipse for PHP and C programming so far.
Rob
#23 by Frank Hintsch on January 31st, 2009
Quote
Cédric,
since I have the same problem with Eclipse and OOO SDK 3.0 on a Mac with OS X 10.5.6, I could help testing too.
Frank
#24 by Cédric on February 4th, 2009
Quote
Frank, Robert,
Thanks for your help… I will first have to find some time to fix the problem. I hope ASAP.
Cedric
#25 by Don Lindsay on February 11th, 2009
Quote
Cédric,
Count me in as another interested USER (not developer) party.
Ubuntu Hardy 8.04
Eclipse Ganymede 3.4
OpenOffice 2.4
Java JRE 1.6
I have not downloaded/tried anything yet – but I will go head and try the current DEV version if you are ready for my feedback (I have some experience as a SW tester).
BTW – I am a big proponent of giving VOLUNTARY MONETARY DONATIONS for open source associate work (like this). If you had a paypal account posted on your site i would have bumped you a few $$$ already.
#26 by Cédric on February 11th, 2009
Quote
Hi Don,
Thanks for being volunteer to test, this will certainly help me to provide better quality versions. I am already aware of one bug in the DEV version: the UNO types selector doesn’t work anymore for URE projects… This is a pity, but I guess this is not the most used feature…
WRT the paypal account, you are the first one asking for it… I’ll have a look at that. Thanks for your offer.
Cedric
#27 by Cédric on February 13th, 2009
Quote
Robert, Frank,
I have updated the development version with a small change which should make it working for MacOS. As I don’t have such a platform at home, I couldn’t test it by myself first… please could you give me some feedbacks on the fix (good or not).
I hope this will do
Cedric
#28 by Robert Westlund on February 17th, 2009
Quote
Cédric,
No luck. When I select the SDK 3.0, I get the message “SDK version has to be at least 2.0.4.” Also, it let’s me pick OpenOffice 2.4 as my app, but I still get the “Invalid OOo path” message when I pick OpenOffice 3.0.
Thanks for spending time on this.
Rob
#29 by Cédric on February 18th, 2009
Quote
Hi Robert,
Ok, then I might have forgotten something else… I’ll have to find a way to test/debug it. If you know a way for me to have an account on a MacOS machine for testing, it’ld be great. Otherwise I’ll try to “emulate” the MacOS X install to test that point.
Thanks for your tests,
Cedric
#30 by Rajesh on February 22nd, 2009
Quote
Hi Cédric,
I want to integrate OO into an Eclipse RCP product. I am not 100% sure if I require these plugins. But to my present knowledge they will help me in doing so.
As you know, these things does not work with latest version of OO SDK and OO Installation.
I need to get it working in all 3 platforms. Where can I get the source code of this projects? I have developed Collaber product. (www.collaber.com) Do you think I can handle the source to fix it?
Do you require systems to test? I can provide access to my Mac Leopard and Ubuntu systems(VNC). They have Java,Eclipse 3.4, OO3.0, OO SDK3.0
Do you need windows too? I hope you will have it already.
If you think I can handle the source, and If you can explain little bit of how to do it, I would like to do the changes and submit the code back to you.
Thank you
Rajesh
#31 by Cédric on February 23rd, 2009
Quote
Rajesh,
First of all, I don’t think the integration you need is the one I have done. You may have a look at the following integration. The plugin I am developing is to help the development of OpenOffice.org extensions.
http://ubion.ion.ag/solutions/003officeintegrationeditor/
If you could provide me a VNC access to a MacOS machine, I could test and fix the problems of the OOo3.x layer quite quickly. For the other platforms, I can easily have access to them.
I don’t doubt you would be able to fix the bugs for OOo3.x in my plugin, but it’s almost done: there is only to fix a tiny problem specific to MacOS installation.
Thank you for your interest,
Cedric
#32 by Robert Westlund on February 24th, 2009
Quote
@Cédric
Cédric,
The only Mac we have is the one on my desk, behind a very strict firewall. There is no way I could get permission to create an account for you for external access. Of course, it has nothing to do with you, just company policy. If there is any other way I can help, please let me know. It can be frustrating when Apple won’t allow a virtual Mac OS X setup, especially for testing purposes. There are a number of hacks that purportedly allow you to run OS X on a standard PC, but I don’t know how well any of those work.
For the time being, I have the NetBeans IDE up-and-running on my Mac with their OO plugin. Not as nice as Eclipse, but it gets the job done.
[OT] Kind of off topic, but it sure is a pain finding documentation and example code that is functional for the 3.0 SDK. Sun has a nasty habit of creating so many levels of abstraction that their API is next to impossible to use. I miss the good old days of adding a library to your build path and just calling functions to do what you need. Oh, well….
#33 by Cédric on February 25th, 2009
Quote
Hi Robert,
Nevermind, I’ll finish to get the hands on a MacOS to test this… I have tried MacOS hacks for x86, but it was too slow to be used in a virtual machine.
Which kind of documentation would you like to find? There isn’t much changes between the API & SDK 2.4 and 3.0. Maybe you’re not used to UNO? You should have a look at the developer’s guide which is now on the wiki instead of the SDK. The api project page is a good starting point for documentation: http://api.openoffice.org.
HTH
Cedric
#34 by Robert Westlund on March 6th, 2009
Quote
Cedric,
Thanks for your always prompt and courteous replies. This is an ongoing issue for us, and it looks like we will be foregoing the OO API entirely, and are now concentrating our efforts on the Apache POI project, which should be easier to integrate into our existing system. It seems to be working fine for creating spreadsheets, but I don’t have presentations working yet. I will still be more than happy to help with your Mac testing, if I can be of any assistance, but my lack of UNO experience might just slow you down. :)
Again, thank you for your help, and good luck with your continuing work on this project.
Rob
#35 by Pracheer Gupta on April 21st, 2009
Quote
I am using eclipse 3.2.0 (on Windows). After adding the plugin for OpenOffice I tried adding the available SDKs to the Eclipse Preferences. When I try to add the 3.0 SDK it throws an error “SDK version has to be atleast 2.0.4″.
Also, when i was adding OOo installation, it didnt give any error but it didnt show in the list (strange isnt it! but i still couldnt figure out why!).
what could i possibly doing wrong?
I am using OOo 3.0 and the same version of SDK on Windows Server 2003
#36 by Cédric on April 21st, 2009
Quote
@Pracheer: you should have a try with the development version available here: http://cedric.bosdonnat.free.fr/ooeclipseintegration-dev/. The support of OpenOffice.org 3.x hasn’t been released yet.
#37 by Jens- Birger Schlie on May 28th, 2009
Quote
@Cédric
Hello Cédric;
I have tried your developement version. For some strange reason I could setup
the plugin to the point where I could create and export UNO projects, but
javamaker was not working due to missing libstlport_gcc.
I fixed that (Gentoo), and also recompiled open office with use flag “USE = … odk …” while doing so, but from then on I could no longer add the open office installation to the plugin (Preferences -> … -> Installed open office versions); the old one was no longer accepted.
The issues with the links I have tested too, and it seems that they are present:
landulf openoffice # pwd
/usr/lib/openoffice
landulf openoffice # file basis-link
basis-link: symbolic link to `basis3.0/’
landulf openoffice # file basis-link/ure-link
basis-link/ure-link: symbolic link to `../ure’
Do you have an idea how I could further debug that problem and then fix it?
Many Regards,
Jens- Birger Schlie
#38 by Cédric on May 28th, 2009
Quote
@Jens- Birger Schlie
Could you please email me, the list of all the files contained in your OpenOffice.org installation? and the path you have selected in the plugin?
Cedric
#39 by Andreas on August 16th, 2009
Quote
Hi Cedric,
you are still updating the plugin? It is really great.
I switched to Eclipse 3.5 and now I can’t select the programming language anymore for a new project. The field to select Java is gray.
I just checked out the dev version of the plugin. Unfortunately I didn’t have programmed a plugin before.
I am using OpenOffice 3.1 and eclipse 3.5 on WIndows XP and Debian.
#40 by Cédric on August 17th, 2009
Quote
@Andreas,
Indeed I’m still updating the plugin, but not at a quick pace. It’s strange that the plugin doesn’t properly work on Eclipse 3.5: I have switched the development and tests to Eclipse 3.5 recently without any problem.
Did you install the Java and the Core plugins ?
FYI: I haven’t yet build the new features into the update sites…
#41 by arkamy on November 12th, 2009
Quote
Bonjour Cédric,
Je suis français, donc je vais me permettre de communiquer en français. Si l’anglais est mieux pour me faire comprendre par les autres forumeurs, fais le moi savoir.
Voila, je suis indépendant en informatique et vrai fan d’OpenOffice.org et de ses possiblités d’utilisation en corrélation avec mon domaine de compétence professionnel : la documentation structurée XML.
J’ai utilisé le module writer d’OpenOffice.org dans plusieurs projets professionnels pour ses capacités de mise en page des documents, d’export PDF et pour son format OpenDocument. J’ai utilisé Openoffice.org en mode serveur pour charger des documents Opendocument (créés par des processus XML-XSLT) et les exporter au format PDF.
Maintenant pour ma mission actuelle, j’aimerais aller plus loin et créer une extension openoffice utilisant les metadata introduit dans la version 1.2 du format opendocument.
J’envisage pour cela d’utiliser ton plug-in ooeclipse, j’ai essayé de récupérer le “first post” de tes “Usage tips” mais le lien semble cassé.
J’aurais besoin de créer une interface utilisateur dans openoffice et de faire des traitements sur le document (visualiser les metadata, les saisir, …), aurais-tu une doc. ou un exemple d’extension me permettant de comprendre comment tout s’articule ?
J’ai la doc d’Openoffice mais c’est chaud.
Merci d’avance
Arnaud
#42 by Cédric on November 12th, 2009
Quote
Hi Arnaud,
Indeed English would be better for others to understand… but I french people also like reading in french ;)
I have just fixed the link for the first tip, thanks for the report.
You may be interested in joining the #fr.openoffice.org IRC channel to discuss this: what you want to do seems quite complex to me to be able to do it in an extension.
HTH
Cedric
#43 by arkamy on November 12th, 2009
Quote
Hi Cedric,
Thanks for your quick answer.
I have always trouble with the link for the first tip, it is in restricted area.
I’ll come back to you if I use ooeclipse for my need.
Arnaud
#44 by Cédric on November 12th, 2009
Quote
The link is now fixed… didn’t pay enough attention this morning :)
#45 by arkamy on November 12th, 2009
Quote
Thanks. It’s working :-)
#46 by Chuck on November 30th, 2009
Quote
Installed 1.2.0 from the developer web site on Vista, Java 1.6.0_17, OO ver. 3.1, eclipse galileo
Install and configuration went with out any problems.
Configured to OO and SDK with out problem. The paths to both of these have spaces, but no errors are produced.
I get the following error when I try to create a new UNO project.
An internal error occurred during: “Project opener”.
java.lang.NullPointerException
In the project explorer, I see the new project folder with the
“U” icon, but the folder is empty.
Anybody have any suggestions on where to find the EGIT
plugin for eclipse? The webpage has nothing to download.
#47 by Cédric on December 1st, 2009
Quote
Hi Chuck,
Could you please send me a stracktrace of the error? you should find one in the log view. The problem with the spaces doesn’t appear when configuring the OOo and SDK, but when building the project with them…
WRT EGit, it seems that the old update site can still be used, though they may switch to the new project page at any time: http://www.jgit.org/updates/.
#48 by Chuck on December 1st, 2009
Quote
Your git link leads to a page with nothing to down load.
I copied the 1st. error from the log file. More errors follow, but
this is where the problems start occurring.
From the log file ****my comments***:
**** this is not an error****
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Info
Tue Dec 01 08:35:39 EST 2009
OOEclipseIntegration started
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
*****This is the 1st. sign of trouble*******
Warning
Tue Dec 01 08:35:42 EST 2009
Error saving all the project properties
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.saveAllProperties(UnoidlProject.java:607)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.configure(UnoidlProject.java:677)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.addProject(ProjectsManager.java:104)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.load(ProjectsManager.java:162)
at org.openoffice.ide.eclipse.core.ResourceChangesHandler.earlyStartup(ResourceChangesHandler.java:115)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
***** Stack trace associated with above warning******
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.saveAllProperties(UnoidlProject.java:607)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.configure(UnoidlProject.java:677)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.addProject(ProjectsManager.java:104)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.load(ProjectsManager.java:162)
at org.openoffice.ide.eclipse.core.ResourceChangesHandler.earlyStartup(ResourceChangesHandler.java:115)
at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2192)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
****more errors follow, I can provide a full list if it will help.*****
#49 by Cédric on December 1st, 2009
Quote
WRT to the Git link, this is an update site: you have to use it within Eclipse plugins install dialog. I’m not sure whether this update site is valid: I’m using git from the command line: it’s much more complete and easy.
WRT the stacktrace, this might be related to the empty “Programing Language” list box.
#50 by Chuck on December 1st, 2009
Quote
Another item I noticed, the “programing language” select box is empty.
#51 by Cédric on December 1st, 2009
Quote
Did you install the Java or Cpp plugin? The core plugin by itself isn’t enought.
#52 by Chuck on December 2nd, 2009
Quote
Okay the web site lists the java & cpp as versions of the core.
The java plugin installs without problem
the cpp results in:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.rcp, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
Artifact not found: osgi.bundle,org.openoffice.ide.eclipse.cpp,0.5.0.
http://people.freedesktop.org/~cbosdo/ooeclipse-dev/plugins/org.openoffice.ide.eclipse.cpp_0.5.0.jar
#53 by mike day on December 2nd, 2009
Quote
Hi Cédric,
I’m getting the same problem — when following the wiki/JavaEclipseTuto to create a stub UNO-IDL project, Eclipse can’t create the project.
The wizard’s 1st screen sees the SDK (310m14) and sees the OOo (2.1) but does not offer any languages. (Doesn’t see java. I never installed Cpp)
I believe I installed the java component. It was the same one needed to build the HelloWorld java app and HelloWorldSWT java app, right?
looking at the Eclipse installation details where it lists the plugins, it shows the
jdt core of 3.5.1.v_972_R35x
jdt.junit 3.5.1r351_v20090708-0800 and
jdt.junit.runtime v3.4.100.v20090513-2000
Are those parts of the plugin you’re asking about or is there another java plugin zip I missed?
Anyway, when I click “Finish” it says it could not create the UNO interface, the error message is Uno Project Creation Wizard: an error occurred during project creation, rollback changes.
#54 by Chuck on December 2nd, 2009
Quote
With the java plug-in installed. project creations still produces the following error:
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
OK
Tue Dec 01 19:02:36 EST 2009
UnoTypeProvider initialized with OOo OpenOffice.org 3.1
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Warning
Tue Dec 01 19:04:31 EST 2009
Error saving all the project properties
java.lang.NullPointerException
at org.openoffice.ide.eclipse.core.internal.helpers.LanguagesHelper.getNameFromLanguage(LanguagesHelper.java:97)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.saveAllProperties(UnoidlProject.java:607)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.configure(UnoidlProject.java:677)
at org.eclipse.core.internal.resources.NatureManager$1.run(NatureManager.java:143)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.resources.NatureManager.configureNature(NatureManager.java:158)
at org.eclipse.core.internal.resources.NatureManager.configureNatures(NatureManager.java:203)
at org.eclipse.core.internal.resources.Project.basicSetDescription(Project.java:84)
at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1054)
at org.eclipse.core.internal.resources.Project.setDescription(Project.java:1082)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createProject(UnoidlProjectHelper.java:490)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createStructure(UnoidlProjectHelper.java:145)
at org.openoffice.ide.eclipse.core.internal.model.UnoFactory.createProject(UnoFactory.java:92)
at org.openoffice.ide.eclipse.core.wizards.NewUnoProjectWizard$ProjectCreationJob.run(NewUnoProjectWizard.java:358)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
OK
Tue Dec 01 19:04:31 EST 2009
UNO-IDL nature set
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Warning
Tue Dec 01 19:04:31 EST 2009
Can’t create default uno configuration file
java.io.FileNotFoundException: C:\Users\Chuck\workspace\myuno\.unoproject (The requested operation cannot be performed on a file with a user-mapped section open)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createDefaultConfig(UnoidlProjectHelper.java:117)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createProject(UnoidlProjectHelper.java:497)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createStructure(UnoidlProjectHelper.java:145)
at org.openoffice.ide.eclipse.core.internal.model.UnoFactory.createProject(UnoFactory.java:92)
at org.openoffice.ide.eclipse.core.wizards.NewUnoProjectWizard$ProjectCreationJob.run(NewUnoProjectWizard.java:358)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
OK
Tue Dec 01 19:04:31 EST 2009
Impossible to delete the project
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Warning
Tue Dec 01 19:04:31 EST 2009
Unreadable uno project configuration file .unoproject
java.io.FileNotFoundException: C:\Users\Chuck\workspace\myuno\.unoproject (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.getProperty(UnoidlProject.java:535)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.configure(UnoidlProject.java:655)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.addProject(ProjectsManager.java:104)
at org.openoffice.ide.eclipse.core.ResourceChangesHandler$ProjectAdderJob.runInWorkspace(ResourceChangesHandler.java:147)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Error
Tue Dec 01 19:04:31 EST 2009
Project creation failed
java.lang.NullPointerException
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createDefaultConfig(UnoidlProjectHelper.java:122)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createProject(UnoidlProjectHelper.java:497)
at org.openoffice.ide.eclipse.core.internal.helpers.UnoidlProjectHelper.createStructure(UnoidlProjectHelper.java:145)
at org.openoffice.ide.eclipse.core.internal.model.UnoFactory.createProject(UnoFactory.java:92)
at org.openoffice.ide.eclipse.core.wizards.NewUnoProjectWizard$ProjectCreationJob.run(NewUnoProjectWizard.java:358)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Error
Tue Dec 01 19:04:31 EST 2009
An internal error occurred during: “Project opener”.
java.lang.NullPointerException
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.getProperty(UnoidlProject.java:543)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.configure(UnoidlProject.java:655)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.addProject(ProjectsManager.java:104)
at org.openoffice.ide.eclipse.core.ResourceChangesHandler$ProjectAdderJob.runInWorkspace(ResourceChangesHandler.java:147)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product
Warning
Tue Dec 01 19:04:31 EST 2009
Error saving all the project properties
java.lang.NullPointerException
at org.openoffice.ide.eclipse.core.internal.helpers.LanguagesHelper.getNameFromLanguage(LanguagesHelper.java:97)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.saveAllProperties(UnoidlProject.java:607)
at org.openoffice.ide.eclipse.core.internal.model.UnoidlProject.configure(UnoidlProject.java:677)
at org.openoffice.ide.eclipse.core.model.ProjectsManager.addProject(ProjectsManager.java:104)
at org.openoffice.ide.eclipse.core.ResourceChangesHandler$ProjectAdderJob.runInWorkspace(ResourceChangesHandler.java:147)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
#55 by Cédric on December 2nd, 2009
Quote
Chuck, Mike day: are you sure that you both have installed org.openoffice.ide.eclipse.java plugin? I’m pretty sure that you haven’t installed it: otherwise the Language selection box would contain “Java”. This plugin is available on the ooeclipse update site you already used.
#56 by mike day on December 2nd, 2009
Quote
You’re right. I got the core but not the other java plugin. Thanks!
#57 by Cédric on December 2nd, 2009
Quote
Chuck:
I’ll have a look at that problem: this isn’t normal. The cpp plugin isn’t finished yet, though.