[ https://issues.apache.org/jira/browse/KARAF-6991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600447#comment-17600447 ]
Jean-Baptiste Onofré commented on KARAF-6991: --------------------------------------------- OK, it's normal that bundle:refresh doesn't work (it's not a refresh, it's actually a bundle:update). If you use bundle:update with the bundle ID it works (on the shell). Now, about the webconsole: * on Karaf 4.2.8, refresh button does just a stop/start but no update from the local repository (like bundle:refresh with bundle ID), update button actually does bundle:update like * on Karaf 4.2.9, indeed update button is different. So, from a shell standpoint, it works fine. The problem is really a change on Felix WebConsole. Let me create a Jira there. > No option to quickly reload snapshot bundle from local maven repository > ----------------------------------------------------------------------- > > Key: KARAF-6991 > URL: https://issues.apache.org/jira/browse/KARAF-6991 > Project: Karaf > Issue Type: Bug > Components: webconsole > Affects Versions: 4.2.9 > Environment: Tested under Windows, we have no Linux development > environment. > Production is in Linux, but there's no Web Console installed. > Reporter: Lukasz Lech > Assignee: Jean-Baptiste Onofré > Priority: Major > > Up to Karaf 4.2.8, the 'refresh' action in the console has reloaded the jar > from the local maven repository. > It was very convinient to quickly test changes by calling mvn install and > then pressing refresh button. > Since Karaf 4.2.9, there's the 'Update Bundle' dialog which allows to choose > the location, from which the jar should be replaced. There's also the button > 'Update from location' which, I suppose, should work as previously - reload > from the local maven repository. However, it seems not to work. When I select > the built jar in the maven repository, my code changes are applied, when I > click ' Update from location ', they are not. > It might seem not an issue when working with a single jar, but if you have a > system containing of hundreds of jars, this is a huge burden, and a reason, > we're unable to update to the decent karaf version in the local development. -- This message was sent by Atlassian Jira (v8.20.10#820010)