public class BundleTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
BundleTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanDirectory(java.io.File directory)
Clean a directory without deleting it.
|
void |
createBundles()
Create the bundles.
|
void |
execute() |
void |
setDestDirPath(java.lang.String destDirPath)
Sets the destination directory path
|
void |
setGenerateCDNFiles(boolean generateCDNFiles)
Sets the flag indicating if we must generate CDN files or not
|
void |
setKeepUrlMapping(boolean keepUrlMapping)
Sets the flag indicating if we keep or not the URL mapping
|
void |
setRootPath(java.lang.String rootPath)
Sets the root directory path
|
void |
setServletAPIversion(java.lang.String servletAPIversion)
Sets the servlet API version
|
void |
setServletsToInitialize(java.lang.String servletsToInitialize)
Sets the servlets to initialize
|
void |
setSpringConfigFiles(java.lang.String springConfigFiles)
Sets the spring config files to use
|
void |
setTempDirPath(java.lang.String tempDirPath)
Sets the temporary directory path
|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setRootPath(java.lang.String rootPath)
rootPath - the path to setpublic void setTempDirPath(java.lang.String tempDirPath)
tempDirPath - the path to setpublic void setDestDirPath(java.lang.String destDirPath)
destDirPath - the path to setpublic void setServletsToInitialize(java.lang.String servletsToInitialize)
servletsToInitialize - the servletsToInitialize to setpublic void setSpringConfigFiles(java.lang.String springConfigFiles)
springConfigFiles - the spring config files to usepublic void setGenerateCDNFiles(boolean generateCDNFiles)
generateCDNFiles - the generateCDNFiles to setpublic void setKeepUrlMapping(boolean keepUrlMapping)
keepUrlMapping - the keepUrlMapping to setpublic void setServletAPIversion(java.lang.String servletAPIversion)
servletAPIversion - the servlet API version to setpublic void execute()
execute in class org.apache.tools.ant.Taskpublic void createBundles()
throws java.lang.Exception
java.lang.Exception - if an exception occurspublic void cleanDirectory(java.io.File directory)
throws java.io.IOException
java.io.IOExceptionCopyright © 2015. All Rights Reserved.