Package org.apache.pluto.util.deploy

Examples of org.apache.pluto.util.deploy.DeploymentException


     */
    protected File getConfigDir(DeploymentConfig config) throws DeploymentException {
        File dir = super.getConfigDir(config);
        String serv = config.getDeploymentProperty("tomcat.service");
        if(serv == null) {
            throw new DeploymentException("tomcat.service is not defined");
        }
        dir = new File(dir, serv);
        String host = config.getDeploymentProperty("tomcat.host");
        if(host == null) {
            throw new DeploymentException("tomcat.host is not defined");
        }
        dir = new File(dir, host);
        dir.mkdirs();
        return dir;
    }
View Full Code Here


    protected File getTomcatHome(DeploymentConfig config) throws DeploymentException {
        if(tomcatHome == null) {
            String file = config.getDeploymentProperty("tomcat.home");
            if(file == null) {
                throw new DeploymentException("tomcat.home not defined");
            }
            tomcatHome =  new File(file);
            tomcatHome.mkdirs();
        }
        return tomcatHome;
View Full Code Here

TOP

Related Classes of org.apache.pluto.util.deploy.DeploymentException

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.