- org.gradle.api.plugins.jetty.JettyRun
-
Deploys an exploded web application to an embedded Jetty web container. Does not require that the web application
be assembled into a war, saving time during the development cycle.
Once started, the web container can be configured to run continuously, scanning for changes in the project and
automatically performing a hot redeploy when necessary. This allows the developer to concentrate on coding changes to
the project using their IDE of choice and have those changes immediately and transparently reflected in the running
web container, eliminating development time that is wasted on rebuilding, reassembling and redeploying.
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractJettyRunTask |
applyJettyXml, configureScanner, configureWebApplication, createServer, findJettyWebXmlFile, finishConfigurationBeforeStart, getAdditionalRuntimeJars, getConnectors, getContextPath, getHttpPort, getJettyConfig, getOverrideWebXml, getReload, getRequestLog, getScanIntervalSeconds, getScanner, getScannerListeners, getServer, getStopKey, getStopPort, getUserRealms, getWebAppConfig, getWebDefaultXml, isDaemon, restartWebApp, setAdditionalRuntimeJars, setConnectors, setContextPath, setDaemon, setHttpPort, setJettyConfig, setOverrideWebXml, setReload, setRequestLog, setScanIntervalSeconds, setScannerListeners, setServer, setStopKey, setStopPort, setUserRealms, setWebAppConfig, setWebDefaultXml, start, startConsoleScanner, startJetty, startJettyInternal, validateConfiguration |
-
-
Method Detail
-
public void applyJettyXml()
-
public void configureScanner()
-
public void configureWebApplication()
-
public void finishConfigurationBeforeStart()
-
public Set<File> getExtraScanTargets()
-
@InputFile
@Optional
public File getJettyEnvXml()
-
@InputFile
@Optional
public File getJettyEnvXmlFile()
-
public File[] getScanTargets()
-
public void restartWebApp(boolean reconfigureScanner)
-
public void setClassPathFiles(List<File> classPathFiles)
-
public void setExtraScanTargets(Iterable<File> extraScanTargets)
-
public void setJettyEnvXml(File jettyEnvXml)
-
public void setJettyEnvXmlFile(File jettyEnvXmlFile)
-
public void setScanTargets(File[] scanTargets)
-
public void setWebAppSourceDirectory(File webAppSourceDirectory)
-
public void setWebXml(File webXml)
-
public void validateConfiguration()
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Gradle API 2.2-20140924021627+0000