Package de.matrixweb.smaller.common

Examples of de.matrixweb.smaller.common.ProcessDescription


      final ConfigFile configFile = ConfigFile.read(this.smallerConfigBundle.getResource(this.config));

      final Manifest manifest = Manifest.fromConfigFile(configFile);
      for (final String envName : configFile.getBuildServer().getEnvironments()) {
        final Environment env = configFile.getEnvironments().get(envName);
        final ProcessDescription processDescription = getProcessDescription(env, manifest);

        final ServiceHolder holder = new ServiceHolder();
        holder.vfs = new VFS();
        setupVfs(holder.vfs, env);
        holder.servlet = new Servlet(holder.vfs, this.pipeline, processDescription);
       
        String alias = processDescription.getOutputFile();
        if (alias.contains("{hash}")) {
          alias = alias.replace("{hash}", holder.servlet.getHash());
        }
        LOGGER.info("Adding Smaller Servlet for URL '{}'", alias);
       
View Full Code Here

TOP

Related Classes of de.matrixweb.smaller.common.ProcessDescription

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.