Deploys an exploded web application to an embedded Tomcat web container. Does not require that the web application be assembled into a war, saving time during the development cycle.
Fields inherited from class | Fields |
---|---|
class AbstractTomcatRun |
CONFIG_FILE |
Type | Name and description |
---|---|
org.gradle.api.file.FileCollection |
classesDirectories The directories containing the compiled class files. |
org.gradle.api.file.FileCollection |
webAppClasspath The web application's classpath. |
java.io.File |
webAppSourceDirectory The web application's source directory. |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
configureWebApplication() |
|
protected boolean |
isTomcat6x() Checks if used Tomcat version is 6.x. |
|
void |
setWebApplicationContext() |
|
protected void |
validateConfiguration() |
Methods inherited from class | Name |
---|---|
class AbstractTomcatRun |
addWebappResource, configureWebApplication, getFullContextPath, setWebApplicationContext, start, startTomcat, user, validateConfiguration, validateConfigurationAndStartTomcat |
The directories containing the compiled class files. This property is optional as a web application project may simply not contain any classes.
The web application's classpath. This classpath usually contains the external libraries assigned to the compile and runtime configurations.
The web application's source directory. For applications following the Servlet 3.x specification this directory is not required.