Package org.apache.tomcat.task

Examples of org.apache.tomcat.task.Expand


    if( ! appDir.exists() ) {
        // no check if war file is "newer" than directory
        // To update you need to "remove" the context first!!!
        appDir.mkdirs();
        // Expand war file
        Expand expand=new Expand();
        expand.setSrc( home + "/webapps/" + name );
        expand.setDest( home + "/webapps/" + fname);
        try {
      expand.execute();
        } catch( IOException ex) {
      ex.printStackTrace();
      // do what ?
        }
    }
View Full Code Here


    if( ! appDir.exists() ) {
        // no check if war file is "newer" than directory
        // To update you need to "remove" the context first!!!
        appDir.mkdirs();
        // Expand war file
        Expand expand=new Expand();
        expand.setSrc( home + "/webapps/" + name );
        expand.setDest( home + "/webapps/" + fname);
        try {
      expand.execute();
        } catch( IOException ex) {
      ex.printStackTrace();
      // do what ?
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.tomcat.task.Expand

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.