
org.kantega.reststop.maven.dist.reststop-jetty.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright 2018 Kantega AS ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> <Configure class="org.eclipse.jetty.server.Server"> <Ref refid="Contexts"> <Call name="addHandler"> <Arg> <New class="org.eclipse.jetty.webapp.WebAppContext"> <Set name="contextPath">CONTEXTPATH</Set> <Set name="war"><SystemProperty name="jetty.home" default="."/>/RESTSTOPWAR </Set> <Set name="throwUnavailableOnStartupException">true</Set> <Call name="setInitParameter"> <Arg>plugins.xml</Arg> <Arg><SystemProperty name="jetty.home" default="."/>/../plugins.xml </Arg> </Call> <Call name="setInitParameter"> <Arg>applicationName</Arg> <Arg>WEBAPP</Arg> </Call> <Call name="setInitParameter"> <Arg>repositoryPath</Arg> <Arg><SystemProperty name="jetty.home" default="."/>/../repository </Arg> </Call> <Call name="setInitParameter"> <Arg>pluginConfigurationDirectory</Arg> <Arg><SystemProperty name="jetty.home" default="."/>/../conf </Arg> </Call> </New> </Arg> </Call> </Ref> </Configure>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy