org.mortbay.jetty.ant
Class JettyRunTask

java.lang.Object
  extended by Task
      extended by org.mortbay.jetty.ant.JettyRunTask

public class JettyRunTask
extends Task

Ant task for running a Jetty server.

Author:
Jakub Pawlowicz

Constructor Summary
JettyRunTask()
           
 
Method Summary
 void addConnectors(Connectors connectors)
          Adds a new Ant's connector tag object if it have not been created yet.
 void addSystemProperties(SystemProperties systemProperties)
           
 void addUserRealms(UserRealms realms)
           
 void addWebApp(WebApp webapp)
          Creates a new WebApp Ant object.
 void execute()
          Executes this Ant task.
 File getJettyXml()
           
 String getRequestLog()
           
 File getTempDirectory()
           
 void setJettyXml(File jettyXml)
           
 void setRequestLog(String className)
           
 void setTempDirectory(File tempDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyRunTask

public JettyRunTask()
Method Detail

addWebApp

public void addWebApp(WebApp webapp)
Creates a new WebApp Ant object.


addConnectors

public void addConnectors(Connectors connectors)
Adds a new Ant's connector tag object if it have not been created yet.


addUserRealms

public void addUserRealms(UserRealms realms)

addSystemProperties

public void addSystemProperties(SystemProperties systemProperties)

getTempDirectory

public File getTempDirectory()

setTempDirectory

public void setTempDirectory(File tempDirectory)

getJettyXml

public File getJettyXml()

setJettyXml

public void setJettyXml(File jettyXml)

setRequestLog

public void setRequestLog(String className)

getRequestLog

public String getRequestLog()

execute

public void execute()
             throws BuildException
Executes this Ant task. The build flow is being stopped until Jetty server stops.

Throws:
BuildException


Copyright © 2007 Mort Bay Consulting. All Rights Reserved.