Package org.apache.cocoon.maven.deployer

Examples of org.apache.cocoon.maven.deployer.WebXmlRewriter


        } catch (IOException e) {
            throw new MojoExecutionException("Problem while reading from " + webXml);
        } catch (SAXException e) {
            throw new MojoExecutionException("Problem while parsing " + webXml);
        }
        WebXmlRewriter webXmlRewriter = new WebXmlRewriter(
                ReloadingServlet.class.getName(),
                ReloadingListener.class.getName(),
                ReloadingServletFilter.class.getName(), false);
        if (webXmlRewriter.rewrite(webXmlDocument)) {
            // save web.xml
            try {
                if (this.getLog().isDebugEnabled()) {
                    this.getLog().debug("Rewriting web.xml: " + webXml);
                }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.maven.deployer.WebXmlRewriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.