revert reverted name changes in ee8 and ee9
This commit is contained in:
parent
77483580f5
commit
4214001a79
|
@ -9,7 +9,7 @@ This module provide common configuration of Java Servlet web applications over a
|
|||
etc/jetty-ee-webapp.xml
|
||||
|
||||
[lib]
|
||||
lib/jetty-ee-webapp-${jetty.version}.jar
|
||||
lib/jetty-ee-${jetty.version}.jar
|
||||
|
||||
[ini-template]
|
||||
# tag::ini-template[]
|
||||
|
|
|
@ -2,22 +2,21 @@
|
|||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://eclipse.dev/jetty/configure_10_0.dtd">
|
||||
|
||||
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
||||
<Call class="org.eclipse.jetty.ee8.webapp.WebAppContext" name="addSystemClasses">
|
||||
<Arg><Ref refid="Server"/></Arg>
|
||||
<Call class="org.eclipse.jetty.ee.WebappClassLoading" name="addProtectedClasses">
|
||||
<Arg><Ref refid="Environment"/></Arg>
|
||||
<Arg>
|
||||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
|
||||
<Arg><Property name="jetty.webapp.addSystemClasses"/></Arg>
|
||||
<Arg><Property name="jetty.webapp.addProtectedClasses" deprecated="jetty.webapp.addSystemClasses"/></Arg>
|
||||
</Call>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<Call class="org.eclipse.jetty.ee8.webapp.WebAppContext" name="addServerClasses">
|
||||
<Arg><Ref refid="Server"/></Arg>
|
||||
<Call class="org.eclipse.jetty.ee.WebappClassLoading" name="addHiddenClasses">
|
||||
<Arg><Ref refid="Environment"/></Arg>
|
||||
<Arg>
|
||||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
|
||||
<Arg><Property name="jetty.webapp.addServerClasses"/></Arg>
|
||||
<Arg><Property name="jetty.webapp.addHiddenClasses" deprecated="jetty.webapp.addServerClasses"/></Arg>
|
||||
</Call>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
</Configure>
|
||||
|
|
|
@ -31,8 +31,8 @@ lib/jetty-ee8-webapp-${jetty.version}.jar
|
|||
##
|
||||
## The +=, operator appends to a CSV list with a comma as needed.
|
||||
##
|
||||
#jetty.webapp.addSystemClasses+=,org.example.
|
||||
#jetty.webapp.addServerClasses+=,org.example.
|
||||
#jetty.webapp.addProtectedClasses+=,org.example.
|
||||
#jetty.webapp.addHiddenClasses+=,org.example.
|
||||
|
||||
[ini]
|
||||
contextHandlerClass=org.eclipse.jetty.ee8.webapp.WebAppContext
|
||||
|
|
|
@ -2,22 +2,21 @@
|
|||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
|
||||
|
||||
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
||||
<Call class="org.eclipse.jetty.ee9.webapp.WebAppContext" name="addSystemClasses">
|
||||
<Call class="org.eclipse.jetty.ee.WebappClassLoading" name="addProtectedClasses">
|
||||
<Arg><Ref refid="Environment"/></Arg>
|
||||
<Arg>
|
||||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
|
||||
<Arg><Property name="jetty.webapp.addSystemClasses"/></Arg>
|
||||
<Arg><Property name="jetty.webapp.addProtectedClasses" deprecated="jetty.webapp.addSystemClasses"/></Arg>
|
||||
</Call>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
<Call class="org.eclipse.jetty.ee9.webapp.WebAppContext" name="addServerClasses">
|
||||
<Call class="org.eclipse.jetty.ee.WebappClassLoading" name="addHiddenClasses">
|
||||
<Arg><Ref refid="Environment"/></Arg>
|
||||
<Arg>
|
||||
<Call class="org.eclipse.jetty.util.StringUtil" name="csvSplit">
|
||||
<Arg><Property name="jetty.webapp.addServerClasses"/></Arg>
|
||||
<Arg><Property name="jetty.webapp.addHiddenClasses" deprecated="jetty.webapp.addServerClasses"/></Arg>
|
||||
</Call>
|
||||
</Arg>
|
||||
</Call>
|
||||
|
||||
</Configure>
|
||||
|
|
|
@ -31,8 +31,8 @@ lib/jetty-ee9-webapp-${jetty.version}.jar
|
|||
##
|
||||
## The +=, operator appends to a CSV list with a comma as needed.
|
||||
##
|
||||
#jetty.webapp.addSystemClasses+=,org.example.
|
||||
#jetty.webapp.addServerClasses+=,org.example.
|
||||
#jetty.webapp.addProtectedClasses+=,org.example.
|
||||
#jetty.webapp.addHiddenClasses+=,org.example.
|
||||
|
||||
[ini]
|
||||
contextHandlerClass?=org.eclipse.jetty.ee9.webapp.WebAppContext
|
||||
|
|
Loading…
Reference in New Issue