Ove Stoerholt
Ove Stoerholt

Reputation: 3974

How to install OpenNTF Domino API 3.1.0 in Eclipse Mars for use with OSGi plugins?

I wanted to try using ODA when doing OSGi plugin development and found this example by Paul Withers:

http://www.intec.co.uk/wp-content/uploads/2015/10/com.paulwithers.demoServlet.update.3.0.zip

Problem after importing project is that ODA Dependencies (required plug-ins) are not resolved for 'org.openntf.domino' and 'org.openntf.domino.xsp'.

Trying to install ODA 3.1.0 in Eclipse Mars yields the following error:

Missing requirement: OpenNTF Domino API requires 'com.ibm.icu.base 0.0.0' but it could not be found

How to resolve?

Best regards from Ove

Upvotes: 0

Views: 210

Answers (2)

Jesse Gallagher
Jesse Gallagher

Reputation: 4471

I've found it best to not actually install ODA into Eclipse, but instead add it to the Target Platform. What I do nowadays is, with an Eclipse workspace dedicated to XPages-targetted development, I create a new Target Platform definition in Preferences - Plug-in Development - Target Platform that points to each library I'm using, as well as the Update Site for Build Management IBM put together. For example, from one project I have:

That also helps for Maven builds, since then I can point to those repos from the pom and have a consistent Target Platform all around.

Upvotes: 1

Paul Stephen Withers
Paul Stephen Withers

Reputation: 15739

Do you have XPages SDK installed? That will point to all the relevant Domino-related jar files.

If more discussion is needed, it may be best to ask in ODA arera of OpenNTF Slack Chat. If you're not already in there (I can't see your name) you can join at https://openntfslackin.mybluemix.net/

Upvotes: 0

Related Questions