Hi,

The jetty.xml comes from the http feature. You can define your own http feature (and override the default one) and define your own jetty.xml:

<configfile finalname="/etc/jetty.xml">mvn:groupId/...</configfile>

Regards
JB

On 07/11/2012 12:42 AM, Archimedes Trajano wrote:
I am building a custom Karaf distribution and I need to modify the
etc/jetty.xml.

How do I create a custom distribution where I change the etc/jetty.xml?

I know I can put my own etc/jetty.xml, but that would mean if they already
have an existing installation they need to be careful not to change that
file.

Would simply copying the "http" section into my features.xml work?  What if
the HTTP feature was already installed before?

What if the user had chosen the KAR archive distribution rather than the
tar.gz distribution? Would the KAR file override the http that comes with
the system?

--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-do-I-create-a-custom-distribution-where-I-change-the-etc-jetty-xml-tp4025189.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com


Reply via email to