Package org.mortbay.jetty.ant.types

Examples of org.mortbay.jetty.ant.types.WebApp


        try
        {
          Iterator iterator = webapps.iterator();
          while (iterator.hasNext())
          {
              WebApp webAppConfiguration = (WebApp) iterator.next();
              WebApplicationProxyImpl webApp = new WebApplicationProxyImpl(webAppConfiguration
                      .getName());
              webApp.setSourceDirectory(webAppConfiguration.getWarFile());
              webApp.setContextPath(webAppConfiguration.getContextPath());
              webApp.setWebXml(webAppConfiguration.getWebXmlFile());
              webApp.setJettyEnvXml(webAppConfiguration.getJettyEnvXml());
              webApp.setClassPathFiles(webAppConfiguration.getClassPathFiles());
              webApp.setLibrariesConfiguration(webAppConfiguration.getLibrariesConfiguration());
              webApp.setExtraScanTargetsConfiguration(webAppConfiguration
                      .getScanTargetsConfiguration());
              webApp.setContextHandlers(webAppConfiguration.getContextHandlers());
              webApp.setWebDefaultXmlFile(webAppConfiguration.getWebDefaultXmlFile());

              server.addWebApplication(webApp, webAppConfiguration.getScanIntervalSeconds());
          }
        }
        catch (Exception e) {
          throw new BuildException(e);
        }
View Full Code Here

TOP

Related Classes of org.mortbay.jetty.ant.types.WebApp

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.