On 29/02/2008, Rodrigo Madera <[EMAIL PROTECTED]> wrote: > > Docktor, > > Please take a look at Spring OSGi (which has been renamed to Spring > Dynamic > Modules due to legal issues). > http://www.springframework.org/osgi > > Read the part (and examples) on testing. > > You will be relieved ;-)
You can also use Pax-Runner to deploy bundles onto any of the major frameworks. http://wiki.ops4j.org/confluence/x/A4A6 (email-friendly link) It can scan folders and maven poms for bundles, or download bundles from maven repositories or plain URLs - it even supports dynamic wrapping of jars and wars into bundles, so you can deploy existing webapps onto the OSGi framework* * deployment of webapps requires the 'jsp' pax-runner profile, here's an example: http://wiki.ops4j.org/confluence/x/oANN We also provide a set of tools for creating OSGi bundles/applications using maven: http://www.ops4j.org/projects/pax/construct and this integrates with Pax-Runner, so you can compile and deploy from maven. HTH Happy testing, > Rodrigo > > On Thu, Feb 28, 2008 at 2:57 PM, Richard S. Hall <[EMAIL PROTECTED]> > wrote: > > > > Sebastian Docktor wrote: > > > Hi, > > > > > > I played a little with the felix-framework and created a few Bundles. > > > > > > But I always have to copy them manual to a running felix version in > > order to test them. > > > Is there a way to copy&start&load them from Maven? > > > > > > > In our svn repo we have a Maven plugin started that will build your > > bundle and automatically start an instance of Felix and run your bundle > > inside of it. This plugin was an experiment and is likely a little out > > of date, but could probably be made to work again with a little effort. > > > > > I also had problem to debug a Bundle using Netbeans. > > > > > > Can someone give me and hint how to test OSGi-Bundles > > > and how to debug them using Netbeans and Maven. > > > > > > > I switch back and forth between Eclipse and NetBeans pretty regularly, > > but unfortunately, I don't spend much time debugging bundles since i am > > usually working on the framework, so I don't really have an approach for > > debugging them. > > > > As for testing, we are still waiting to define our own approach for > > doing it (the Maven plugin above was originally intended as a possible > > approach for that), but I know that people have their own approaches. > > > > -> richard > > > regards > > > sebastian > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- Cheers, Stuart

