Hi, I'm on vacation right now so it's only a small mail with some hints. First take a look at the PAX Web integration tests which itself use PAX exam for testing. That should already fix all your questions.
Regards, Achim https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty sent from mobile device Am 07.08.2016 9:50 nachm. schrieb "Steinar Bang" <[email protected]>: > >>>>> Steinar Bang <[email protected]>: > > > As an experiment I changed the service looked for to > > org.osgi.service.http.HttpService that is the base interface of > > WebContainer, and then it worked with > > "org.apache.felix":"org.apache.felix.http.jetty":"2.3.2" > > > But I need a Pax Web WebContext... hm...? > > I tried adding "org.ops4j.pax.web:pax-web-jetty:4.2.7" to the mix, as > well as all bundles needed for that bundle to have its requirements > filled, ie.: > "org.apache.felix:org.apache.felix.http.jetty:2.3.2" > "org.apache.xbean:xbean-finder:4.1" > "org.apache.xbean:xbean-bundleutils:4.1" > "org.ow2.asm:asm-all:5.0.2" > > But I still have no luck in finding a registered WebContainer service in > the test. > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
