It's all about the answers!

Ask a question

Error with Bundles


Fran Burgos (1081439) | asked Apr 10 '15, 6:15 a.m.
edited Apr 10 '15, 7:15 a.m.
I have following this article: 
https://jazz.net/wiki/bin/view/Main/JAFTutorialStepREST#Testing_using_Eclipse_and_Embedd
But in the section of Testing the plugin in Jetty the Bundle Validation shows different errors:

Eg:
com.ibm.iant
  Missing Constraint: Require-Bundle com.ibm.etools.iseries.toolbox; bundle-version="0.0.0"
  Missing Constraint: Require-Bundle com.ibm.team.enterprise.metadata.collection.client; bundle-version="0.0.0"
  Missing Constraint: Require-Bundle com.ibm.teamp.ibimi.metadata.collection.client; bundle-version="0.0.0"

com.ibm.apt.client.tests
    Missing Constraint: Require-Bundle org.selenium.java.client; bundle-version="0.0.0"
com.ibm.team.process.authoring.selenium.webdriver.tests
    Missing Constraint: Require-Bundle org.selenium.java.client; bundle-version="0.0.0"
com.ibm.team.process.selenium.webdriver.tests
    Missing Constraint: Require-Bundle org.selenium.java.client; bundle-version="0.0.0"
com.ibm.team.workitem.ide.ui.tests
    Missing Constraint: Require-Bundle org.eclipse.swt.sleak; bundle-version="0.0.0"
org.eclipse.core.net.win32.x86_64
  Platform filter did not match: (& (osgi.os=win32) (osgi.arch=x86_64))
org.eclipse.equinox.http.servletbridge
  Missing Constraint: Import-Package: org.eclipse.equinox.servletbridge, version="1.0.0"

My Target Plataform has jfs-sdk and rtc-sdk
Why do I get this errors?

2 answers



permanent link
Ralph Schoon (55.5k23642) | answered Apr 10 '15, 7:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
My best guess is that the bundles above are for System I or System Z architectures only.

Comments
Fran Burgos commented Apr 10 '15, 7:17 a.m.

I have added some information. I am trying to remove every bundle with errors because many of them looks like bundles with tests. But I am worry about one called org.eclipse.equinox.http.servletbridge bacuse it seems important


Lawrence Smith commented Apr 10 '15, 9:13 a.m.
JAZZ DEVELOPER

If you need a particular bundle that does is in the target platform but is not getting loaded automatically, you can add the package to the implicit dependencies in the target platform page. It looks like you are including more bundles than you need. The steps in the wiki page indicate to remove most bundles. Another possibility is the bundle level required does not match the target platform level.


permanent link
Fran Burgos (1081439) | answered Apr 13 '15, 11:04 a.m.
The problem was the Platform Target in Eclipse where it was set RTC-SDK too. I used the same workspace for rtc extensions and to follow the tutorial. Now I have it in separate workspaces and everything works fine.

Your answer


Register or to post your answer.