public class BundleTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
BundleTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanDirectory(File directory)
Clean a directory without deleting it.
|
void |
createBundles()
Create the bundles.
|
void |
execute() |
void |
setDestDirPath(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(String rootPath)
Sets the root directory path
|
void |
setServletAPIversion(String servletAPIversion)
Sets the servlet API version
|
void |
setServletsToInitialize(String servletsToInitialize)
Sets the servlets to initialize
|
void |
setSpringConfigFiles(String springConfigFiles)
Sets the spring config files to use
|
void |
setTempDirPath(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(String rootPath)
rootPath - the path to setpublic void setTempDirPath(String tempDirPath)
tempDirPath - the path to setpublic void setDestDirPath(String destDirPath)
destDirPath - the path to setpublic void setServletsToInitialize(String servletsToInitialize)
servletsToInitialize - the servletsToInitialize to setpublic void setSpringConfigFiles(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(String servletAPIversion)
servletAPIversion - the servlet API version to setpublic void execute()
execute in class org.apache.tools.ant.Taskpublic void createBundles()
throws Exception
Exception - if an exception occurspublic void cleanDirectory(File directory) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.