On Fri, Jul 4, 2008 at 5:08 PM, Toni Menzel <[EMAIL PROTECTED]> wrote:
> Yes, the junit runner is probably the most important use method.
> Would be great if pax-wicket could start using it starting with this
> release!

Pax-wicket integration test is now using pax-drone.
It seems there's a problem of missing Import-Package when test is being run.

I tried to run this test with equinox and felix platform the same
error occurred.

Error:
TestPrivateLibraries(org.ops4j.pax.wicket.it.classResolver.ClassResolverByPidTest)
 Time elapsed: 85.666 sec  <<< ERROR!
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Import-Package:
org.ops4j.pax.drone.connector.paxrunner; version="0.0.0"
    at 
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:305)
    at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:265)
    at 
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:257)
    at 
org.ops4j.pax.drone.zombie.RemoteDroneDelegate.execute(RemoteDroneDelegate.java:33)

I will investigate about this tonight.

And in regards to improvement:
* It would be very useful if somehow pax-drone can print the bundle
state, and if there are bundles that are in "Installed" state.
  Print the bundle diagnostic. This way, the user can resolve the bundles.
* An option to not stop the framework when the test is over.
  This will give opportunity for user to connect via telnet and play around.

Regards,
Edward Yakop

NB: I updated pax-drone confluence page. The maven depedencies
declaration is not right.

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to