Package railo.commons.io.log

Examples of railo.commons.io.log.LogAndSource.info()


          while ( ( entry = zis.getNextEntry()) != null ) {
            path=entry.getName();
            fileName=fileName(entry);
            // jars
            if(!entry.isDirectory() && (startsWith(path,type,"jars") || startsWith(path,type,"jar") || startsWith(path,type,"lib") || startsWith(path,type,"libs")) && StringUtil.endsWithIgnoreCase(path, ".jar")) {
              log.info("extension","deploy jar "+fileName);
              ConfigWebAdmin.updateJar(config,zis,fileName,false);
              jars.add(fileName);
            }
           
            // flds
View Full Code Here


              jars.add(fileName);
            }
           
            // flds
            if(!entry.isDirectory() && startsWith(path,type,"flds") && StringUtil.endsWithIgnoreCase(path, ".fld")) {
              log.info("extension","deploy fld "+fileName);
              ConfigWebAdmin.updateFLD(config, zis, fileName,false);
              flds.add(fileName);
            }
           
            // tlds
View Full Code Here

              flds.add(fileName);
            }
           
            // tlds
            if(!entry.isDirectory() && startsWith(path,type,"tlds") && StringUtil.endsWithIgnoreCase(path, ".tld")) {
              log.info("extension","deploy tld "+fileName);
              ConfigWebAdmin.updateTLD(config, zis, fileName,false);
              tlds.add(fileName);
            }
           
            // context
View Full Code Here

            // context
            String realpath;
            if(!entry.isDirectory() && startsWith(path,type,"context") && !StringUtil.startsWith(fileName(entry), '.')) {
              realpath=path.substring(8);
              //log.info("extension","deploy context "+realpath);
              log.info("extension","deploy context "+realpath);
              ConfigWebAdmin.updateContext(ci, zis, realpath,false);
              contexts.add(realpath);
            }
           
            // applications
View Full Code Here

           
            // applications
            if(!entry.isDirectory() && startsWith(path,type,"applications") && !StringUtil.startsWith(fileName(entry), '.')) {
              realpath=path.substring(13);
              //log.info("extension","deploy context "+realpath);
              log.info("extension","deploy application "+realpath);
              ConfigWebAdmin.updateApplication(ci, zis, realpath,false);
              applications.add(realpath);
            }
           
           
View Full Code Here

   
    try {
      ResourceUtil.deleteContent(trgDir, null);
      ResourceUtil.moveTo(archive, trgFile,true);
     
      log.info("archive","add "+type+" mapping ["+virtual+"] with archive ["+trgFile.getAbsolutePath()+"]");
      if("regular".equalsIgnoreCase(type))
        ConfigWebAdmin.updateMapping((ConfigImpl)config,virtual, null, trgFile.getAbsolutePath(), "archive", inspect, topLevel);
      else if("cfc".equalsIgnoreCase(type))
        ConfigWebAdmin.updateComponentMapping((ConfigImpl)config,virtual, null, trgFile.getAbsolutePath(), "archive", inspect);
      else if("ct".equalsIgnoreCase(type))
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.