public class JettyRunTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
JettyRunTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectors(Connectors connectors)
Adds a new Ant's connector tag object if it have not been created yet.
|
void |
addLoginServices(LoginServices services) |
void |
addSystemProperties(SystemProperties systemProperties) |
void |
addUserRealms(Object o)
Deprecated.
|
void |
addWebApp(WebApp webapp)
Creates a new
WebApp Ant object. |
void |
execute()
Executes this Ant task.
|
File |
getJettyXml() |
String |
getRequestLog() |
File |
getTempDirectory() |
void |
setJettyPort(int jettyPort)
Sets the port Jetty uses for the default connector.
|
void |
setJettyXml(File jettyXml) |
void |
setRequestLog(String className) |
void |
setTempDirectory(File tempDirectory) |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void addWebApp(WebApp webapp)
WebApp
Ant object.public void addConnectors(Connectors connectors)
public void addUserRealms(Object o)
public void addLoginServices(LoginServices services)
public void addSystemProperties(SystemProperties systemProperties)
public File getTempDirectory()
public void setTempDirectory(File tempDirectory)
public File getJettyXml()
public void setJettyXml(File jettyXml)
public void setRequestLog(String className)
public String getRequestLog()
public void setJettyPort(int jettyPort)
jettyPort
- The port Jetty will use for the default connectorpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.