org.apache.cocoon.maven.deployer
Class WebApplicationRewriter
java.lang.Object
org.apache.cocoon.maven.deployer.WebApplicationRewriter
public class WebApplicationRewriter
- extends Object
- Version:
- $Id: WebApplicationRewriter.html 1351235 2012-06-18 08:41:39Z ilgrosso $
Method Summary |
static void |
shieldWebapp(File webInfDir,
org.apache.maven.plugin.logging.Log log,
boolean useShieldingRepository)
Prepare the web application to use the shielded class loader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSLOADER_JAR
protected static final String CLASSLOADER_JAR
- See Also:
- Constant Field Values
JAR_ENTRY_PREFIX
protected static final String JAR_ENTRY_PREFIX
WebApplicationRewriter
public WebApplicationRewriter()
shieldWebapp
public static void shieldWebapp(File webInfDir,
org.apache.maven.plugin.logging.Log log,
boolean useShieldingRepository)
throws org.apache.maven.plugin.MojoExecutionException
- Prepare the web application to use the shielded class loader.
The web.xml will be rewritten: all servlets, filters etc. are wrapped
by a wrapper which uses the shielded class loader.
In addition all libs are moved from WEB-INF/lib to WEB-INF/shielded/lib
and all files from WEB-INF/classes are moved to WEB-INF/shielded/classes.
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.