Examples of CactifyUtils


Examples of org.apache.cactus.integration.api.cactify.CactifyUtils

     * @throws MojoExecutionException in case any other error occurs.
     */
    private File cactifyWebXml(WebXml theWebXml) throws JDOMException,
                                                        MojoExecutionException
    {
        CactifyUtils utils = new CactifyUtils();
        utils.setLogger(createLogger());
        utils.addRedirectorDefinitions(theWebXml, redirectors);
        addJspRedirector();
        addEjbRefs(theWebXml);
       
        // If the user has specified a deployment descriptor to merge into the
        // cactified descriptor, perform the merge
        if (this.mergeWebXml != null)
        {
            try
            {
                WebXml parsedMergeWebXml = WebXmlIo.parseWebXmlFromFile(
                    this.mergeWebXml, this.xmlCatalog);
                WebXmlMerger merger = new WebXmlMerger(theWebXml);
                merger.setLogger(utils.getLogger());
              
                merger.merge(parsedMergeWebXml);
            }
            catch (IOException e)
            {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.