org.apache.tools.ant.taskdefs
public class Ear extends Jar
Since: Ant 1.4
UNKNOWN: category="packaging"
| Constructor Summary | |
|---|---|
| Ear()
Create an Ear task. | |
| Method Summary | |
|---|---|
| void | addArchives(ZipFileSet fs)
Adds zipfileset.
|
| protected void | cleanUp()
Make sure we don't think we already have a application.xml next
time this task gets executed. |
| protected void | initZipOutputStream(ZipOutputStream zOut) |
| void | setAppxml(File descr)
File to incorporate as application.xml. |
| void | setEarfile(File earFile) |
| protected void | zipFile(File file, ZipOutputStream zOut, String vPath, int mode)
Overridden from Zip class to deal with application.xml |
Parameters: fs zipfileset to add
Deprecated: Use setDestFile(destfile) instead