[
https://issues.apache.org/jira/browse/SLING-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger resolved SLING-1162.
--------------------------------------
Resolution: Fixed
Fix Version/s: Launchpad Base 2.0.6
Thanks for providing the patch.
I have committed your patch for BootstrapInstaller in Rev. 834077.
The reference update in the other modules has already been done by Bertrand as
part of SLING-1177
> force upgrading of SNAPSHOT bundles from inside app/webapp resources directory
> ------------------------------------------------------------------------------
>
> Key: SLING-1162
> URL: https://issues.apache.org/jira/browse/SLING-1162
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Affects Versions: Launchpad Base 2.0.4
> Reporter: Justin Edelson
> Assignee: Felix Meschberger
> Fix For: Launchpad Base 2.0.6
>
> Attachments: SLING-1162-corrected.patch, SLING-1162.patch
>
>
> If a bundle file in WEB-INF/resources/bundles (in a webapp) or
> resources/bundles (in a standalone app) is a SNAPSHOT, the bundle should be
> upgraded if it is already installed and the versions match.
> This doesn't work consistently because isAlreadyInstalled() doesn't detect
> changes to bundles in an exploded webapp (e.g. with mvn jetty:run); you have
> to touch the launcher jar file to force the upgrade check to happen.
> I didn't come up with a good way to test this functionality. Open to
> suggestions...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.