[
https://issues.apache.org/jira/browse/KARAF-6991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17448438#comment-17448438
]
Lukasz Lech commented on KARAF-6991:
------------------------------------
[~jbonofre] no, it doesn't seem to work.
When I click on 'update', I got a popup with 2 options: 'Update from location'
and 'Upload'. None of them installs the new version of the snapshot from the
local maven repository.
bundle:refresh doesn't work as well.
The only that works is finding the jar manually by opening file dialog in the
popup, or starting karaf new clean (which takes a few minutes). So it's not
acceptable for quickly testing, and we're stuck with version 4.2.8
> 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)