Le 02/12/14 19:43, Stefan Seelmann a écrit : > Hi all, > > As you know we try to migrate Studio to Tycho build, and always want to > use the latest and greates build of JDBM, Mavibot, API, and ApacheDS. It > happened the released artifacts are no valid OSGi bundles or have > invalid MANIFEST.MF. But even worse is that in the Tycho build the error > messages are not really explicit, it is very hard to find the problem. > > What I dream from is to have some mechanism to avoid that problems and > to identify OSGi related problems early. I don't have enough knowledge > which tools exists out there, so maybe an OSGi export can help. > > First idea I have is to have a test that checks that each single > artifact is a valid bundle. > > Second thing would be some kind of integration test that starts an OSGi > runtime (preferred both Equinox and Felix/Karaf) and installs all > ApacheDS bundles, to verify that all dependencies can be resolved. > > Third idea would be to even startup ApacheDS in that runtime, but maybe > that requires more work. > > Any ideas or further suggestions are welcomed. > > Kind Regards, > Stefan
What about using pax-exam ? http://docs.peergreen.com/peergreen_server/latest/reference/xhtml-single/peergreen-server-osgi-paxexam-junit-guide.xhtml
