| Modifier and Type | Field and Description |
|---|---|
| private File | |
| private boolean | |
| private static final FileUtils | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | cleanUp()
Overrides org. |
| protected void | initZipOutputStream(ZipOutputStream
the zip output stream. zOut)Overrides org. |
| public void | |
| public void | setEarfile(File
the destination file earFile)
Deprecated
since 1.5.x.
Use setDestFile(destfile) instead.
Set the destination file.
|
| protected void | zipFile(File
the file to add to the archive file, ZipOutputStream the stream to write to zOut, String the name this entry shall have in the archive vPath, int the Unix permissions to set. mode)Overrides org. |
| deploymentDescriptor | back to summary |
|---|---|
| private File deploymentDescriptor | |
| descriptorAdded | back to summary |
|---|---|
| private boolean descriptorAdded | |
| FILE_UTILS | back to summary |
|---|---|
| private static final FileUtils FILE_UTILS | |
| XML_DESCRIPTOR_PATH | back to summary |
|---|---|
| private static final String XML_DESCRIPTOR_PATH | |
| Ear | back to summary |
|---|---|
| public Ear() Create an Ear task. | |
| addArchives | back to summary |
|---|---|
| public void addArchives(ZipFileSet fs) Adds zipfileset.
| |
| cleanUp | back to summary |
|---|---|
| protected void cleanUp() Overrides org. Make sure we don't think we already have a application.xml next time this task gets executed.
| |
| initZipOutputStream | back to summary |
|---|---|
| protected void initZipOutputStream(ZipOutputStream zOut) throws IOException, BuildException Overrides org. Initialize the output stream.
| |
| setAppxml | back to summary |
|---|---|
| public void setAppxml(File descr) File to incorporate as application.xml.
| |
| setEarfile | back to summary |
|---|---|
| public void setEarfile(File earFile)
Deprecated since 1.5.x. Use setDestFile(destfile) instead. Set the destination file.
| |
| zipFile | back to summary |
|---|---|
| protected void zipFile(File file, ZipOutputStream zOut, String vPath, int mode) throws IOException Overrides org. Overridden from Zip class to deal with application.xml
| |