[ 
https://issues.apache.org/jira/browse/SLING-1162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Edelson updated SLING-1162:
----------------------------------

    Attachment: SLING-1162.patch

here's the patch.

> 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: Bug
>          Components: Launchpad
>            Reporter: Justin Edelson
>         Attachments: 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.

Reply via email to