You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/04/18 05:49:00 UTC
[jira] [Commented] (KARAF-6991) No option to quickly reload snapshot bundle from local maven repository
[ https://issues.apache.org/jira/browse/KARAF-6991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523535#comment-17523535 ]
Jean-Baptiste Onofré commented on KARAF-6991:
---------------------------------------------
The change has been introduced in Felix WebConsole 4.5.2. However, if bundle:refresh doesn't work, I think it's not related to webconsole, but maybe pax-url change (loading from the location).
Let me investigate.
> 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.1#820001)