I've installed OpenOffice 4.0 (application and SDK) in Ubuntu, because I want to develop OOo addons. When I attempt to create a new UNO project with Eclipse, it asks for both OpenOffice's and SDK's location. The plugin correctly recognizes the OpenOffice installation, but complains that "SDK version has to be at least 2.0.4" when given the SDK's path. The same issue happens with LibreOffice.
Is there a way to make Eclipse recognize OpenOffice 4 SDK to create a new UNO project?
OpenOffice was install as DEB files from Apache OpenOffice download page. The URL used to install the OpenOffice plugin is: http://www.openoffice.org/api/Projects/EclipseIntegration/dev-update/site.xml