I try to create a custom distribution with modified configuration files and
see the following problems:

1. Modifications of the configuration (with profiles and also
KarafPropertyEdits)  are overwritten with the configuration part (<config>..
.</config>)  defined in the feature file. I assume that's not the intention.
(See  code Builder
<https://github.com/apache/karaf/blob/8e6649f2bd6754bf280ff1d6ddf279543f2c250e/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java#L924>
 
). It is impossible to change the configuration with the
karaf-maven-plugin:assembly for a custom distribution;
2. Would not it be nice when the configuration files <configfile
finalname=mvn ..../> also placed in the etc directory of the custom
distribution? Same as the internal configuration specified in the feature
files (and not only installed to the system directory). Than other tools can
use those files directly after copy the distribution to the production
environment.

Environment:
•       Windows 7;
•       Karaf 4.1.5;

Problems also available in 4.2.0.M2 and 4.1.0 – 4.1.5.

Will I make incidents or am I wrong?




-----
Regards,
SvS
--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to