|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.apache.tools.ant.taskdefs.Zip
org.apache.tools.ant.taskdefs.Jar
org.apache.tools.ant.taskdefs.War
org.junitee.anttask.JUnitEEWarTask
This ant task builds the .war file which will contains the server-side unit tests.
| Nested Class Summary | |
class |
JUnitEEWarTask.AbstractEjbRef
|
class |
JUnitEEWarTask.EjbLocalRef
|
class |
JUnitEEWarTask.EjbRef
|
class |
JUnitEEWarTask.ResRef
|
| Nested classes inherited from class org.apache.tools.ant.taskdefs.Jar |
org.apache.tools.ant.taskdefs.Jar.FilesetManifestConfig |
| Nested classes inherited from class org.apache.tools.ant.taskdefs.Zip |
org.apache.tools.ant.taskdefs.Zip.ArchiveState, org.apache.tools.ant.taskdefs.Zip.Duplicate, org.apache.tools.ant.taskdefs.Zip.WhenEmpty |
| Field Summary |
| Fields inherited from class org.apache.tools.ant.taskdefs.Zip |
addedDirs, archiveType, doubleFilePass, duplicate, emptyBehavior, entries, skipWriting, zipFile |
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
JUnitEEWarTask()
|
|
| Method Summary | |
void |
addClasses(org.apache.tools.ant.types.ZipFileSet fs)
|
void |
addTestCases(org.apache.tools.ant.types.FileSet fs)
The nested testCases element specifies a FileSet. |
JUnitEEWarTask.EjbLocalRef |
createEjbLocalRef()
Create a nested ejbLocalRef element. |
JUnitEEWarTask.EjbRef |
createEjbRef()
Create a nested ejbRef element. |
JUnitEEWarTask.ResRef |
createResourceRef()
Create a nested resourceRef element. |
void |
execute()
Entry point when the task is ran from ant |
void |
setHtmlRefreshDelay(java.lang.String htmlRefreshDelay)
This optional parameter defines the delay for HTML page refreshes when run as a separate thread. |
void |
setServletclass(java.lang.String servletclass)
Set the name of the servlet used in the generated deployment descriptor. |
void |
setTestjarname(java.lang.String name)
This optional parameter define the name of the .jar file which will contain the test classes. |
void |
setWebxml(java.io.File descr)
|
| Methods inherited from class org.apache.tools.ant.taskdefs.War |
addLib, addWebinf, cleanUp, initZipOutputStream, setWarfile, zipFile |
| Methods inherited from class org.apache.tools.ant.taskdefs.Jar |
addConfiguredManifest, addMetainf, createEmptyZip, finalizeZipOutputStream, getResourcesToAdd, reset, setFilesetmanifest, setIndex, setJarfile, setManifest, setManifestEncoding, setWhenempty, zipFile |
| Methods inherited from class org.apache.tools.ant.taskdefs.Zip |
addFileset, addParentDirs, addResources, addZipfileset, addZipGroupFileset, executeMain, getDestFile, getEncoding, grabResources, isAddingNewFiles, isCompress, isEmpty, isInUpdateMode, selectFileResources, setBasedir, setCompress, setDestFile, setDuplicate, setEncoding, setFile, setFilesonly, setKeepCompression, setUpdate, setZipfile, zipDir |
| Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
| Methods inherited from class org.apache.tools.ant.Task |
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 |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JUnitEEWarTask()
| Method Detail |
public void setHtmlRefreshDelay(java.lang.String htmlRefreshDelay)
2.
public void setTestjarname(java.lang.String name)
public void setServletclass(java.lang.String servletclass)
servletclass - public void setWebxml(java.io.File descr)
public void addClasses(org.apache.tools.ant.types.ZipFileSet fs)
public void addTestCases(org.apache.tools.ant.types.FileSet fs)
fs - nested classes elementpublic JUnitEEWarTask.EjbRef createEjbRef()
public JUnitEEWarTask.EjbLocalRef createEjbLocalRef()
public JUnitEEWarTask.ResRef createResourceRef()
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||