karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seth Leger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-686) introduce an override flag to configfile element so that we get chance to not override the finalname if it already exist
Date Wed, 13 Aug 2014 16:10:14 GMT

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

Seth Leger commented on KARAF-686:
----------------------------------

Can you please add this parameter to the <configfile> section in the provisioning documents
at:

http://karaf.apache.org/manual/latest-2.3.x/users-guide/provisioning.html

Thanks!

> introduce an override flag to configfile element so that we get chance to not override
the finalname if it already exist
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-686
>                 URL: https://issues.apache.org/jira/browse/KARAF-686
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.2.2, 3.0.0
>
>
> currently http feature has configuration like
> <feature name="http" version="2.2.1" resolver="(obr)">
>         <configfile finalname="/etc/jetty.xml">mvn:org.apache.karaf/apache-karaf/2.2.2-SNAPSHOT/xml/jettyconfig</configfile>
>                 <config name="org.ops4j.pax.web">
>             org.osgi.service.http.port=8181
>             javax.servlet.context.tempdir=${karaf.data}/pax-web-jsp
>             org.ops4j.pax.web.config.file=${karaf.base}/etc/jetty.xml
>         </config>
> This means each time we install http feature it will download jettyconfig.xml remotely
and override the local etc/jetty.xml, so any configuration we saved in local etc/jetty.xml
will lose. 
> We should ship jetty.xml in kit etc folder and always refer it for the http feature,
which is easier for customer to configure the jetty.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message