[ 
https://issues.apache.org/jira/browse/SLING-9172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051999#comment-17051999
 ] 

Dominik Süß commented on SLING-9172:
------------------------------------

[~kwin] this is currently out of scope of this ticket - this is supposed to 
tackle certain scenarios like multiple version of libs. Yes in case of usage of 
those with dynamic classloader that might be not fully predictable - this 
ticket specifically just is about enabling controlling scenarios that can 
already be reflected with features and the corersponding launcher. Right now 
the installer can't be properly used for developing with such a setup due to 
the forced update behavior. 
Subsequent improvments to support this are more than welcome - specifically 
when we could establish some more strict binding between consumers of the 
dynamic classloader and the "providing" bundles.

> Allow Sling Installer to install and handle multiple versions of bundles 
> instead of updating
> --------------------------------------------------------------------------------------------
>
>                 Key: SLING-9172
>                 URL: https://issues.apache.org/jira/browse/SLING-9172
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer
>    Affects Versions: Installer Core 3.10.2
>            Reporter: Dominik Süß
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Sling Installer currently always updates bundles when different versions of 
> bundles get installed. Since Apache Felix does support multiple versions of 
> bundles to exist in parallel it should be possible to change the behavior 
> with via property to install and uninstall multiple versions in parallel 
> instead of updating them.
> To achieve this two changes are required:
> a) DefaultTransformer should change the EntityID of bundles to include the 
> version to make sure the state handling of Installer handles each version as 
> own entity
> b) BundleTaskCreator must be adjusted to create install task over update task 
> as the detection currently checks for the existence of BSN



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to