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

ASF GitHub Bot commented on KARAF-7325:
---------------------------------------

RangerRick commented on PR #1484:
URL: https://github.com/apache/karaf/pull/1484#issuecomment-2064121512

   Ooh, I realize this is languishing in PRs, but it would be really handy if 
it could be included.




> Simplification of customizations for jre and framework properties
> -----------------------------------------------------------------
>
>                 Key: KARAF-7325
>                 URL: https://issues.apache.org/jira/browse/KARAF-7325
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.2.14
>            Reporter: Łukasz Dywicki
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> [follow up issue promised in 
> https://lists.apache.org/thread/bdp1j909wz7cx593bmjxobg3k79sozzg]
> I recently been going over few Karaf assemblies I created in past years and I 
> realized that in many cases I had to copy entire configuration shipped by 
> Karaf distribution in order to include a new config in bootstrap process.
> Quite often my requirements were quite small, yet I had to create two files 
> and take care of updates of distro shipped file in order to keep assembly 
> well behaving.
> If distro builder wants to override or extend any of properties defined in 
> standard karaf files he needs to copy a whole file. While it is not a problem 
> for custom properties it is a burden for jre and system (framework) 
> properties which vary between releases.
> The proposal is to simplify patching process by introduction of:
>  * Optional {{custom.jre.properties}} file which can define "custom" packages
>  ** custom.jre-1.6
>  ** custom.jre-1.7
>  ** custom.jre-8
>  ** custom.jre-9
>  ** custom.jre-10
>  ** custom.jre-11
>  ** custom.jre-13
>  ** custom.jre-14
>  ** custom.jre-15
>  * Extension of {{config.properties}} to accept more values coming from 
> {{{}custom.properties{}}}:
>  ** custom.org.osgi.framework.system.packages
>  ** custom.org.osgi.framework.system.packages.extra
>  ** custom-capabilities
>  ** custom.org.osgi.framework.bootdelegation
> By this patching or adjusting system packages in a custom distro will require 
> only additional file instead of replacing distribution one. The 
> custom.properties will start playing bigger role in providing additional 
> entries to system packages and bootdelegation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to