[14627] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
| 2 | <!--NewPage-->
|
---|
| 3 | <HTML>
|
---|
| 4 | <HEAD>
|
---|
| 5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:22 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | War (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.War class">
|
---|
| 11 |
|
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
| 13 |
|
---|
| 14 | <SCRIPT type="text/javascript">
|
---|
| 15 | function windowTitle()
|
---|
| 16 | {
|
---|
| 17 | parent.document.title="War (Apache Ant API)";
|
---|
| 18 | }
|
---|
| 19 | </SCRIPT>
|
---|
| 20 |
|
---|
| 21 | </HEAD>
|
---|
| 22 |
|
---|
| 23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
| 27 | <A NAME="navbar_top"><!-- --></A>
|
---|
| 28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
| 29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 30 | <TR>
|
---|
| 31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
| 33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 34 | <TR ALIGN="center" VALIGN="top">
|
---|
| 35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 42 | </TR>
|
---|
| 43 | </TABLE>
|
---|
| 44 | </TD>
|
---|
| 45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 46 | </EM>
|
---|
| 47 | </TD>
|
---|
| 48 | </TR>
|
---|
| 49 |
|
---|
| 50 | <TR>
|
---|
| 51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/WhichResource.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 56 | <A HREF="War.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 57 | <SCRIPT type="text/javascript">
|
---|
| 58 | <!--
|
---|
| 59 | if(window==top) {
|
---|
| 60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 61 | }
|
---|
| 62 | //-->
|
---|
| 63 | </SCRIPT>
|
---|
| 64 | <NOSCRIPT>
|
---|
| 65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 66 | </NOSCRIPT>
|
---|
| 67 |
|
---|
| 68 | </FONT></TD>
|
---|
| 69 | </TR>
|
---|
| 70 | <TR>
|
---|
| 71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 72 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.Jar">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.Zip">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 75 | </TR>
|
---|
| 76 | </TABLE>
|
---|
| 77 | <A NAME="skip-navbar_top"></A>
|
---|
| 78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
| 79 |
|
---|
| 80 | <HR>
|
---|
| 81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
| 82 | <H2>
|
---|
| 83 | <FONT SIZE="-1">
|
---|
| 84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
| 85 | <BR>
|
---|
| 86 | Class War</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
| 90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
| 91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.MatchingTask</A>
|
---|
| 92 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.Zip</A>
|
---|
| 93 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.Jar</A>
|
---|
| 94 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.War</B>
|
---|
| 95 | </PRE>
|
---|
| 96 | <DL>
|
---|
| 97 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/tools/ant/types/selectors/SelectorContainer.html" title="interface in org.apache.tools.ant.types.selectors">SelectorContainer</A></DD>
|
---|
| 98 | </DL>
|
---|
| 99 | <HR>
|
---|
| 100 | <DL>
|
---|
| 101 | <DT>public class <B>War</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs">Jar</A></DL>
|
---|
| 102 |
|
---|
| 103 | <P>
|
---|
| 104 | An extension of <jar> to create a WAR archive.
|
---|
| 105 | Contains special treatment for files that should end up in the
|
---|
| 106 | <code>WEB-INF/lib</code>, <code>WEB-INF/classes</code> or
|
---|
| 107 | <code>WEB-INF</code> directories of the Web Application Archive.</p>
|
---|
| 108 | <p>(The War task is a shortcut for specifying the particular layout of a WAR file.
|
---|
| 109 | The same thing can be accomplished by using the <i>prefix</i> and <i>fullpath</i>
|
---|
| 110 | attributes of zipfilesets in a Zip or Jar task.)</p>
|
---|
| 111 | <p>The extended zipfileset element from the zip task
|
---|
| 112 | (with attributes <i>prefix</i>, <i>fullpath</i>, and <i>src</i>)
|
---|
| 113 | is available in the War task.</p>
|
---|
| 114 | <P>
|
---|
| 115 |
|
---|
| 116 | <P>
|
---|
| 117 | <DL>
|
---|
| 118 | <DT><B>Since:</B></DT>
|
---|
| 119 | <DD>Ant 1.2</DD>
|
---|
| 120 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs"><CODE>Jar</CODE></A></DL>
|
---|
| 121 | <HR>
|
---|
| 122 |
|
---|
| 123 | <P>
|
---|
| 124 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 125 |
|
---|
| 126 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
| 127 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 128 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 129 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 130 | <B>Nested Class Summary</B></FONT></TD>
|
---|
| 131 | </TR>
|
---|
| 132 | </TABLE>
|
---|
| 133 | <A NAME="nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.Jar"><!-- --></A>
|
---|
| 134 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 135 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 136 | <TD><B>Nested classes inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs">Jar</A></B></TD>
|
---|
| 137 | </TR>
|
---|
| 138 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 139 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.FilesetManifestConfig.html" title="class in org.apache.tools.ant.taskdefs">Jar.FilesetManifestConfig</A></CODE></TD>
|
---|
| 140 | </TR>
|
---|
| 141 | </TABLE>
|
---|
| 142 | <A NAME="nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.Zip"><!-- --></A>
|
---|
| 143 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 144 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 145 | <TD><B>Nested classes inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></B></TD>
|
---|
| 146 | </TR>
|
---|
| 147 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 148 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.ArchiveState.html" title="class in org.apache.tools.ant.taskdefs">Zip.ArchiveState</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.Duplicate.html" title="class in org.apache.tools.ant.taskdefs">Zip.Duplicate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.WhenEmpty.html" title="class in org.apache.tools.ant.taskdefs">Zip.WhenEmpty</A></CODE></TD>
|
---|
| 149 | </TR>
|
---|
| 150 | </TABLE>
|
---|
| 151 |
|
---|
| 152 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 153 |
|
---|
| 154 | <A NAME="field_summary"><!-- --></A>
|
---|
| 155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 156 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 157 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 158 | <B>Field Summary</B></FONT></TD>
|
---|
| 159 | </TR>
|
---|
| 160 | </TABLE>
|
---|
| 161 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.Zip"><!-- --></A>
|
---|
| 162 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 163 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 164 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></B></TD>
|
---|
| 165 | </TR>
|
---|
| 166 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 167 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#addedDirs">addedDirs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#archiveType">archiveType</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#doubleFilePass">doubleFilePass</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#duplicate">duplicate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#emptyBehavior">emptyBehavior</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#entries">entries</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#skipWriting">skipWriting</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#zipFile">zipFile</A></CODE></TD>
|
---|
| 168 | </TR>
|
---|
| 169 | </TABLE>
|
---|
| 170 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
| 171 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 172 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 173 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TD>
|
---|
| 174 | </TR>
|
---|
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 176 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#fileset">fileset</A></CODE></TD>
|
---|
| 177 | </TR>
|
---|
| 178 | </TABLE>
|
---|
| 179 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 180 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 181 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 182 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
| 183 | </TR>
|
---|
| 184 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 185 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
| 186 | </TR>
|
---|
| 187 | </TABLE>
|
---|
| 188 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 189 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 190 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 191 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
| 192 | </TR>
|
---|
| 193 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 194 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
| 195 | </TR>
|
---|
| 196 | </TABLE>
|
---|
| 197 |
|
---|
| 198 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 199 |
|
---|
| 200 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 201 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 202 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 203 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 204 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 205 | </TR>
|
---|
| 206 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 207 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#War()">War</A></B>()</CODE>
|
---|
| 208 |
|
---|
| 209 | <BR>
|
---|
| 210 | </TD>
|
---|
| 211 | </TR>
|
---|
| 212 | </TABLE>
|
---|
| 213 |
|
---|
| 214 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 215 |
|
---|
| 216 | <A NAME="method_summary"><!-- --></A>
|
---|
| 217 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 218 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 219 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 220 | <B>Method Summary</B></FONT></TD>
|
---|
| 221 | </TR>
|
---|
| 222 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 224 | <CODE> void</CODE></FONT></TD>
|
---|
| 225 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#addClasses(org.apache.tools.ant.types.ZipFileSet)">addClasses</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</CODE>
|
---|
| 226 |
|
---|
| 227 | <BR>
|
---|
| 228 | add files under WEB-INF/classes</TD>
|
---|
| 229 | </TR>
|
---|
| 230 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 232 | <CODE> void</CODE></FONT></TD>
|
---|
| 233 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#addLib(org.apache.tools.ant.types.ZipFileSet)">addLib</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</CODE>
|
---|
| 234 |
|
---|
| 235 | <BR>
|
---|
| 236 | add files under WEB-INF/lib/</TD>
|
---|
| 237 | </TR>
|
---|
| 238 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 239 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 240 | <CODE> void</CODE></FONT></TD>
|
---|
| 241 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#addWebinf(org.apache.tools.ant.types.ZipFileSet)">addWebinf</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</CODE>
|
---|
| 242 |
|
---|
| 243 | <BR>
|
---|
| 244 | files to add under WEB-INF;</TD>
|
---|
| 245 | </TR>
|
---|
| 246 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 247 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 248 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 249 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#cleanUp()">cleanUp</A></B>()</CODE>
|
---|
| 250 |
|
---|
| 251 | <BR>
|
---|
| 252 | Make sure we don't think we already have a web.xml next time this task
|
---|
| 253 | gets executed.</TD>
|
---|
| 254 | </TR>
|
---|
| 255 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 257 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 258 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#initZipOutputStream(org.apache.tools.zip.ZipOutputStream)">initZipOutputStream</A></B>(<A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut)</CODE>
|
---|
| 259 |
|
---|
| 260 | <BR>
|
---|
| 261 | override of parent; validates configuration
|
---|
| 262 | before initializing the output stream.</TD>
|
---|
| 263 | </TR>
|
---|
| 264 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 266 | <CODE> void</CODE></FONT></TD>
|
---|
| 267 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#setWarfile(java.io.File)">setWarfile</A></B>(java.io.File warFile)</CODE>
|
---|
| 268 |
|
---|
| 269 | <BR>
|
---|
| 270 | <B>Deprecated.</B> <I>Use setDestFile(File) instead</I></TD>
|
---|
| 271 | </TR>
|
---|
| 272 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 274 | <CODE> void</CODE></FONT></TD>
|
---|
| 275 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#setWebxml(java.io.File)">setWebxml</A></B>(java.io.File descr)</CODE>
|
---|
| 276 |
|
---|
| 277 | <BR>
|
---|
| 278 | set the deployment descriptor to use (WEB-INF/web.xml);
|
---|
| 279 | required unless <tt>update=true</tt></TD>
|
---|
| 280 | </TR>
|
---|
| 281 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 283 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 284 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html#zipFile(java.io.File, org.apache.tools.zip.ZipOutputStream, java.lang.String, int)">zipFile</A></B>(java.io.File file,
|
---|
| 285 | <A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut,
|
---|
| 286 | java.lang.String vPath,
|
---|
| 287 | int mode)</CODE>
|
---|
| 288 |
|
---|
| 289 | <BR>
|
---|
| 290 | Overridden from Zip class to deal with web.xml</TD>
|
---|
| 291 | </TR>
|
---|
| 292 | </TABLE>
|
---|
| 293 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.Jar"><!-- --></A>
|
---|
| 294 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 295 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 296 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs">Jar</A></B></TD>
|
---|
| 297 | </TR>
|
---|
| 298 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 299 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#addConfiguredIndexJars(org.apache.tools.ant.types.Path)">addConfiguredIndexJars</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#addConfiguredManifest(org.apache.tools.ant.taskdefs.Manifest)">addConfiguredManifest</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#addMetainf(org.apache.tools.ant.types.ZipFileSet)">addMetainf</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#createEmptyZip(java.io.File)">createEmptyZip</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#finalizeZipOutputStream(org.apache.tools.zip.ZipOutputStream)">finalizeZipOutputStream</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#findJarName(java.lang.String, java.lang.String[])">findJarName</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#getResourcesToAdd(org.apache.tools.ant.types.FileSet[], java.io.File, boolean)">getResourcesToAdd</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#grabFilesAndDirs(java.lang.String, java.util.List, java.util.List)">grabFilesAndDirs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#reset()">reset</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setFilesetmanifest(org.apache.tools.ant.taskdefs.Jar.FilesetManifestConfig)">setFilesetmanifest</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setIndex(boolean)">setIndex</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setJarfile(java.io.File)">setJarfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setManifest(java.io.File)">setManifest</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setManifestEncoding(java.lang.String)">setManifestEncoding</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setWhenempty(org.apache.tools.ant.taskdefs.Zip.WhenEmpty)">setWhenempty</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#writeIndexLikeList(java.util.List, java.util.List, java.io.PrintWriter)">writeIndexLikeList</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#zipFile(java.io.InputStream, org.apache.tools.zip.ZipOutputStream, java.lang.String, long, java.io.File, int)">zipFile</A></CODE></TD>
|
---|
| 300 | </TR>
|
---|
| 301 | </TABLE>
|
---|
| 302 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.Zip"><!-- --></A>
|
---|
| 303 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 304 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 305 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></B></TD>
|
---|
| 306 | </TR>
|
---|
| 307 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 308 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#addParentDirs(java.io.File, java.lang.String, org.apache.tools.zip.ZipOutputStream, java.lang.String, int)">addParentDirs</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#addResources(org.apache.tools.ant.types.FileSet, org.apache.tools.ant.types.Resource[], org.apache.tools.zip.ZipOutputStream)">addResources</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#addZipfileset(org.apache.tools.ant.types.ZipFileSet)">addZipfileset</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#addZipGroupFileset(org.apache.tools.ant.types.FileSet)">addZipGroupFileset</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#execute()">execute</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#executeMain()">executeMain</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#getComment()">getComment</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#getDestFile()">getDestFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#getEncoding()">getEncoding</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#grabResources(org.apache.tools.ant.types.FileSet[])">grabResources</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#isAddingNewFiles()">isAddingNewFiles</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#isCompress()">isCompress</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#isEmpty(org.apache.tools.ant.types.Resource[][])">isEmpty</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#isInUpdateMode()">isInUpdateMode</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#selectFileResources(org.apache.tools.ant.types.Resource[])">selectFileResources</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setBasedir(java.io.File)">setBasedir</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setComment(java.lang.String)">setComment</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setCompress(boolean)">setCompress</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setDestFile(java.io.File)">setDestFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setDuplicate(org.apache.tools.ant.taskdefs.Zip.Duplicate)">setDuplicate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setEncoding(java.lang.String)">setEncoding</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setFile(java.io.File)">setFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setFilesonly(boolean)">setFilesonly</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setKeepCompression(boolean)">setKeepCompression</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setRoundUp(boolean)">setRoundUp</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setUpdate(boolean)">setUpdate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setZipfile(java.io.File)">setZipfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#zipDir(java.io.File, org.apache.tools.zip.ZipOutputStream, java.lang.String, int)">zipDir</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#zipDir(java.io.File, org.apache.tools.zip.ZipOutputStream, java.lang.String, int, org.apache.tools.zip.ZipExtraField[])">zipDir</A></CODE></TD>
|
---|
| 309 | </TR>
|
---|
| 310 | </TABLE>
|
---|
| 311 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
| 312 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 313 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 314 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TD>
|
---|
| 315 | </TR>
|
---|
| 316 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 317 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#add(org.apache.tools.ant.types.selectors.FileSelector)">add</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addAnd(org.apache.tools.ant.types.selectors.AndSelector)">addAnd</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContains(org.apache.tools.ant.types.selectors.ContainsSelector)">addContains</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContainsRegexp(org.apache.tools.ant.types.selectors.ContainsRegexpSelector)">addContainsRegexp</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addCustom(org.apache.tools.ant.types.selectors.ExtendSelector)">addCustom</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDate(org.apache.tools.ant.types.selectors.DateSelector)">addDate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepend(org.apache.tools.ant.types.selectors.DependSelector)">addDepend</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepth(org.apache.tools.ant.types.selectors.DepthSelector)">addDepth</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDifferent(org.apache.tools.ant.types.selectors.DifferentSelector)">addDifferent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addFilename(org.apache.tools.ant.types.selectors.FilenameSelector)">addFilename</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addMajority(org.apache.tools.ant.types.selectors.MajoritySelector)">addMajority</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addModified(org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector)">addModified</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNone(org.apache.tools.ant.types.selectors.NoneSelector)">addNone</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNot(org.apache.tools.ant.types.selectors.NotSelector)">addNot</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addOr(org.apache.tools.ant.types.selectors.OrSelector)">addOr</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addPresent(org.apache.tools.ant.types.selectors.PresentSelector)">addPresent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSelector(org.apache.tools.ant.types.selectors.SelectSelector)">addSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSize(org.apache.tools.ant.types.selectors.SizeSelector)">addSize</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addType(org.apache.tools.ant.types.selectors.TypeSelector)">addType</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#appendSelector(org.apache.tools.ant.types.selectors.FileSelector)">appendSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExclude()">createExclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExcludesFile()">createExcludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createInclude()">createInclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createIncludesFile()">createIncludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createPatternSet()">createPatternSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getDirectoryScanner(java.io.File)">getDirectoryScanner</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getImplicitFileSet()">getImplicitFileSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getSelectors(org.apache.tools.ant.Project)">getSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#hasSelectors()">hasSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorCount()">selectorCount</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorElements()">selectorElements</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setCaseSensitive(boolean)">setCaseSensitive</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setDefaultexcludes(boolean)">setDefaultexcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludes(java.lang.String)">setExcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludesfile(java.io.File)">setExcludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setFollowSymlinks(boolean)">setFollowSymlinks</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludes(java.lang.String)">setIncludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludesfile(java.io.File)">setIncludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setProject(org.apache.tools.ant.Project)">setProject</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetIgnore(java.lang.String)">XsetIgnore</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetItems(java.lang.String)">XsetItems</A></CODE></TD>
|
---|
| 318 | </TR>
|
---|
| 319 | </TABLE>
|
---|
| 320 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 321 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 322 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 323 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
| 324 | </TR>
|
---|
| 325 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 326 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
| 327 | </TR>
|
---|
| 328 | </TABLE>
|
---|
| 329 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 330 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 331 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 332 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
| 333 | </TR>
|
---|
| 334 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 335 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A></CODE></TD>
|
---|
| 336 | </TR>
|
---|
| 337 | </TABLE>
|
---|
| 338 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 339 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 340 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 341 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 342 | </TR>
|
---|
| 343 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 344 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 345 | </TR>
|
---|
| 346 | </TABLE>
|
---|
| 347 |
|
---|
| 348 | <P>
|
---|
| 349 |
|
---|
| 350 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 351 |
|
---|
| 352 |
|
---|
| 353 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 354 |
|
---|
| 355 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 356 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 357 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 358 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 359 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 360 | </TR>
|
---|
| 361 | </TABLE>
|
---|
| 362 |
|
---|
| 363 | <A NAME="War()"><!-- --></A><H3>
|
---|
| 364 | War</H3>
|
---|
| 365 | <PRE>
|
---|
| 366 | public <B>War</B>()</PRE>
|
---|
| 367 | <DL>
|
---|
| 368 | </DL>
|
---|
| 369 |
|
---|
| 370 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 371 |
|
---|
| 372 | <A NAME="method_detail"><!-- --></A>
|
---|
| 373 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 374 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 375 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 376 | <B>Method Detail</B></FONT></TD>
|
---|
| 377 | </TR>
|
---|
| 378 | </TABLE>
|
---|
| 379 |
|
---|
| 380 | <A NAME="setWarfile(java.io.File)"><!-- --></A><H3>
|
---|
| 381 | setWarfile</H3>
|
---|
| 382 | <PRE>
|
---|
| 383 | public void <B>setWarfile</B>(java.io.File warFile)</PRE>
|
---|
| 384 | <DL>
|
---|
| 385 | <DD><B>Deprecated.</B> <I>Use setDestFile(File) instead</I>
|
---|
| 386 | <P>
|
---|
| 387 | <DD><i>Deprecated<i> name of the file to create
|
---|
| 388 | -use <tt>destfile</tt> instead.
|
---|
| 389 | <P>
|
---|
| 390 | <DD><DL>
|
---|
| 391 | </DL>
|
---|
| 392 | </DD>
|
---|
| 393 | </DL>
|
---|
| 394 | <HR>
|
---|
| 395 |
|
---|
| 396 | <A NAME="setWebxml(java.io.File)"><!-- --></A><H3>
|
---|
| 397 | setWebxml</H3>
|
---|
| 398 | <PRE>
|
---|
| 399 | public void <B>setWebxml</B>(java.io.File descr)</PRE>
|
---|
| 400 | <DL>
|
---|
| 401 | <DD>set the deployment descriptor to use (WEB-INF/web.xml);
|
---|
| 402 | required unless <tt>update=true</tt>
|
---|
| 403 | <P>
|
---|
| 404 | <DD><DL>
|
---|
| 405 | </DL>
|
---|
| 406 | </DD>
|
---|
| 407 | </DL>
|
---|
| 408 | <HR>
|
---|
| 409 |
|
---|
| 410 | <A NAME="addLib(org.apache.tools.ant.types.ZipFileSet)"><!-- --></A><H3>
|
---|
| 411 | addLib</H3>
|
---|
| 412 | <PRE>
|
---|
| 413 | public void <B>addLib</B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</PRE>
|
---|
| 414 | <DL>
|
---|
| 415 | <DD>add files under WEB-INF/lib/
|
---|
| 416 | <P>
|
---|
| 417 | <DD><DL>
|
---|
| 418 | </DL>
|
---|
| 419 | </DD>
|
---|
| 420 | </DL>
|
---|
| 421 | <HR>
|
---|
| 422 |
|
---|
| 423 | <A NAME="addClasses(org.apache.tools.ant.types.ZipFileSet)"><!-- --></A><H3>
|
---|
| 424 | addClasses</H3>
|
---|
| 425 | <PRE>
|
---|
| 426 | public void <B>addClasses</B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</PRE>
|
---|
| 427 | <DL>
|
---|
| 428 | <DD>add files under WEB-INF/classes
|
---|
| 429 | <P>
|
---|
| 430 | <DD><DL>
|
---|
| 431 | </DL>
|
---|
| 432 | </DD>
|
---|
| 433 | </DL>
|
---|
| 434 | <HR>
|
---|
| 435 |
|
---|
| 436 | <A NAME="addWebinf(org.apache.tools.ant.types.ZipFileSet)"><!-- --></A><H3>
|
---|
| 437 | addWebinf</H3>
|
---|
| 438 | <PRE>
|
---|
| 439 | public void <B>addWebinf</B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</PRE>
|
---|
| 440 | <DL>
|
---|
| 441 | <DD>files to add under WEB-INF;
|
---|
| 442 | <P>
|
---|
| 443 | <DD><DL>
|
---|
| 444 | </DL>
|
---|
| 445 | </DD>
|
---|
| 446 | </DL>
|
---|
| 447 | <HR>
|
---|
| 448 |
|
---|
| 449 | <A NAME="initZipOutputStream(org.apache.tools.zip.ZipOutputStream)"><!-- --></A><H3>
|
---|
| 450 | initZipOutputStream</H3>
|
---|
| 451 | <PRE>
|
---|
| 452 | protected void <B>initZipOutputStream</B>(<A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut)
|
---|
| 453 | throws java.io.IOException,
|
---|
| 454 | <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 455 | <DL>
|
---|
| 456 | <DD>override of parent; validates configuration
|
---|
| 457 | before initializing the output stream.
|
---|
| 458 | <P>
|
---|
| 459 | <DD><DL>
|
---|
| 460 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#initZipOutputStream(org.apache.tools.zip.ZipOutputStream)">initZipOutputStream</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs">Jar</A></CODE></DL>
|
---|
| 461 | </DD>
|
---|
| 462 | <DD><DL>
|
---|
| 463 |
|
---|
| 464 | <DT><B>Throws:</B>
|
---|
| 465 | <DD><CODE>java.io.IOException</CODE>
|
---|
| 466 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
| 467 | </DD>
|
---|
| 468 | </DL>
|
---|
| 469 | <HR>
|
---|
| 470 |
|
---|
| 471 | <A NAME="zipFile(java.io.File, org.apache.tools.zip.ZipOutputStream, java.lang.String, int)"><!-- --></A><H3>
|
---|
| 472 | zipFile</H3>
|
---|
| 473 | <PRE>
|
---|
| 474 | protected void <B>zipFile</B>(java.io.File file,
|
---|
| 475 | <A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut,
|
---|
| 476 | java.lang.String vPath,
|
---|
| 477 | int mode)
|
---|
| 478 | throws java.io.IOException</PRE>
|
---|
| 479 | <DL>
|
---|
| 480 | <DD>Overridden from Zip class to deal with web.xml
|
---|
| 481 | <P>
|
---|
| 482 | <DD><DL>
|
---|
| 483 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#zipFile(java.io.File, org.apache.tools.zip.ZipOutputStream, java.lang.String, int)">zipFile</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></CODE></DL>
|
---|
| 484 | </DD>
|
---|
| 485 | <DD><DL>
|
---|
| 486 | <DT><B>Parameters:</B><DD><CODE>file</CODE> - the file to add to the archive<DD><CODE>zOut</CODE> - the stream to write to<DD><CODE>vPath</CODE> - the name this entry shall have in the archive<DD><CODE>mode</CODE> - the Unix permissions to set.
|
---|
| 487 | <DT><B>Throws:</B>
|
---|
| 488 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
| 489 | </DD>
|
---|
| 490 | </DL>
|
---|
| 491 | <HR>
|
---|
| 492 |
|
---|
| 493 | <A NAME="cleanUp()"><!-- --></A><H3>
|
---|
| 494 | cleanUp</H3>
|
---|
| 495 | <PRE>
|
---|
| 496 | protected void <B>cleanUp</B>()</PRE>
|
---|
| 497 | <DL>
|
---|
| 498 | <DD>Make sure we don't think we already have a web.xml next time this task
|
---|
| 499 | gets executed.
|
---|
| 500 | <P>
|
---|
| 501 | <DD><DL>
|
---|
| 502 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#cleanUp()">cleanUp</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html" title="class in org.apache.tools.ant.taskdefs">Jar</A></CODE></DL>
|
---|
| 503 | </DD>
|
---|
| 504 | <DD><DL>
|
---|
| 505 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#cleanUp()"><CODE>Zip.cleanUp()</CODE></A></DL>
|
---|
| 506 | </DD>
|
---|
| 507 | </DL>
|
---|
| 508 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 509 | <HR>
|
---|
| 510 |
|
---|
| 511 |
|
---|
| 512 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 513 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 514 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 515 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 516 | <TR>
|
---|
| 517 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 518 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 519 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 520 | <TR ALIGN="center" VALIGN="top">
|
---|
| 521 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 522 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 523 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 524 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 525 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 526 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 527 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 528 | </TR>
|
---|
| 529 | </TABLE>
|
---|
| 530 | </TD>
|
---|
| 531 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 532 | </EM>
|
---|
| 533 | </TD>
|
---|
| 534 | </TR>
|
---|
| 535 |
|
---|
| 536 | <TR>
|
---|
| 537 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 538 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/WaitFor.Unit.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 539 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/WhichResource.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 540 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 541 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 542 | <A HREF="War.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 543 | <SCRIPT type="text/javascript">
|
---|
| 544 | <!--
|
---|
| 545 | if(window==top) {
|
---|
| 546 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 547 | }
|
---|
| 548 | //-->
|
---|
| 549 | </SCRIPT>
|
---|
| 550 | <NOSCRIPT>
|
---|
| 551 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 552 | </NOSCRIPT>
|
---|
| 553 |
|
---|
| 554 | </FONT></TD>
|
---|
| 555 | </TR>
|
---|
| 556 | <TR>
|
---|
| 557 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 558 | SUMMARY: <A HREF="#nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.Jar">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.Zip">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 559 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 560 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 561 | </TR>
|
---|
| 562 | </TABLE>
|
---|
| 563 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 564 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 565 |
|
---|
| 566 | <HR>
|
---|
| 567 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 568 | </BODY>
|
---|
| 569 | </HTML>
|
---|