On Fri, Aug 14, 2009 at 6:45 PM, Henrik Niehaus<[email protected]> wrote: > another question from an osgi beginner. How does your development > environment look like? I'm currently using eclipse and the maven bundle > plugin. My project is devided in several bundles / maven modules. Now, > if I'm working on a bundle and want to test it, I have to run maven and > afterwards deploy the bundle to the osgi framework, which could be done > by hand or by running a file monitoring bundle like "File install". But > this is not comfortable enough for me. I want to hit _one_ button in > eclipse and everything should be done as fast as possible. How do I > achieve that, is there a way?
My development environment is very much similar to your. I use only Eclipse and Maven, and my project is divided in many maven modules/bundles. One of these modules is the main project that use Fileinstall to load bundles from a specified folder. When I update a single bundle, I just use a simple maven plugin I wrote to copy it in the folder watched by Fileinstall, so that the new bundle is hot deployed in the running application (you don't really need a mojo for that, a simple "cp" would work anyway). -- Filippo Diotalevi --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

