Hi Saadat > I drop the following jars in virgo/repository/usr folder: > > >org.apache.felix.ipojo.handler.extender-1.4.0.jar >org.apache.felix.ipojo.junit4osgi.swing-gui-1.0.0.jar >org.apache.felix.ipojo.junit4osgi-1.0.0.jar >org.apache.felix.ipojo-1.8.0.jar > > >and drop my test bundle in virgo 'pickup' folder. > >I have also tried dropping org.apache.felix.ipojo.junit4osgi.swing-gui in >the 'pickup' folder, thinking that the GUI is in this bundle and would pop >up and as I add bundles with declared Test-Suite in thier manifest would be >detected by the GUI. I don't normally subscribe to this list, but Google alerted me and I thought I'd point out a couple of steps forward.
Firstly, it seems you need to start the handler.extender bundle, so drop that in pickup along with the swing-gui bundle. Secondly, to get GUI apps to work in Virgo, you have to edit lib//java6-server.profile in order to add some packages to the org.osgi.framework.bootdelegation property. On Mac, you need to add some Apple packages: org.osgi.framework.bootdelegation = \ org.eclipse.virgo.osgi.extensions.*,\ org.eclipse.virgo.osgi.launcher.*,\ org.eclipse.virgo.kernel.authentication,\ com.sun.*,\ javax.xml.*,\ org.apache.xerces.jaxp.*,\ org.w3c.*,\ org.xml.*,\ sun.*,\ apple.*,\ com.apple.* On Windows, you need to add com.sun.* as sun.* is already in the list. With that change I saw the GUI display. Hope that helps. I am going to unsubscribe soon. Please come over to the Virgo forum if you want to discuss further. Regards, Glyn
