Package org.buildforce.tomcat

Examples of org.buildforce.tomcat.TomcatManager


        super.setUp();
    }

    public void setupManager(TomcatConfiguration configuration)
    {
        tomcatManager = new TomcatManager(configuration, getMojo().getLog());
    }
View Full Code Here


{

    public void execute()
        throws MojoExecutionException
    {
        tomcatManager = new TomcatManager(getTomcatConfiguration(), getLog());
        tomcatManager.startTomcat();
    }
View Full Code Here

{

    public void execute()
            throws MojoExecutionException
    {
        tomcatManager = new TomcatManager(getTomcatConfiguration(), getLog());
        tomcatManager.restartTomcat();
    }
View Full Code Here

    public void execute()
            throws MojoExecutionException, MojoFailureException
    {
        // Make sure Tomcat is stopped first:
        tomcatManager = new TomcatManager(getTomcatConfiguration(), getLog());
        tomcatManager.stopTomcat();

        clearLogs();
        clearTemp();
        clearWork();
View Full Code Here

    }

    public void execute()
            throws MojoExecutionException, MojoFailureException
    {
        tomcatManager = new TomcatManager(getTomcatConfiguration(), getLog());

        if (containsWebInfResources)
            tomcatManager.stopTomcat();

        FileSystemUtils.copyResources(getResources(), getLog());
View Full Code Here

{

    public void execute()
        throws MojoExecutionException
    {
        tomcatManager = new TomcatManager(getTomcatConfiguration(), getLog());
        tomcatManager.stopTomcat();
    }
View Full Code Here

    public void execute()
            throws MojoExecutionException, MojoFailureException
    {
        Resource resource = prepareResources();

        TomcatManager manager = new TomcatManager(getTomcatConfiguration(), getLog());
        manager.stopTomcat();

        // Copy the default web resources (could be the jars or war artifacts):
        FileSystemUtils.copyResources(new Resource[]{ resource }, getLog());

        // Copy the additional resources (if such are defined):
        if (getResources() != null)
            FileSystemUtils.copyResources(getResources(), getLog());

        manager.startTomcat();
    }
View Full Code Here

TOP

Related Classes of org.buildforce.tomcat.TomcatManager

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.