Hi Vegar,

Apart from using fileinstall, over at sling we use a combination of a
Maven Plugin (obivously called maven-sling-plugin) and the Apache Felix
Web Console.

Using the plugin we can install new bundle versions during normal maven
builds, thus releiving you of the "find my shell...." steps.

Regards
Felix

Vegar Westerlund schrieb:
> Hello.
> 
> I'm developing a set of bundles that togheter make up an application and
> I find that I spend a lot of time building my projects and updating them
> on my felix server.
> 
> When tracking down and fixing bugs, this is what I do:
> * Look in the felix log to see the error
> * Go into the maven project where the error occured and make a
>   modification
> * Rebuild project using maven
> * Find my felix shell
> * stop bundle xxx
> * update bundle xxx
> * refresh bundle xxx
> * start bundle xxx
> * Look in the log again to see what happend.
> 
> This just takes way to much time for a simple change in the code. Also I
> sometimes modify two projects at the same time and forget on or two of
> these step making debugging a lot of pain... :-(
> What is the best practices for these kinds of changes?
> 
> I tried using the obr command to start bundles. This is great since it
> finds all depenedencies and installs them if possible, but it doesn't
> seem to refresh bundles when I rebuild them.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to