[14982] | 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:19 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | Jar (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Jar 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="Jar (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/Input.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.FilesetManifestConfig.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="Jar.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_class_summary">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 Jar</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"><B>org.apache.tools.ant.taskdefs.Jar</B>
|
---|
| 94 | </PRE>
|
---|
| 95 | <DL>
|
---|
| 96 | <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>
|
---|
| 97 | </DL>
|
---|
| 98 | <DL>
|
---|
| 99 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Ear.html" title="class in org.apache.tools.ant.taskdefs">Ear</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/War.html" title="class in org.apache.tools.ant.taskdefs">War</A></DD>
|
---|
| 100 | </DL>
|
---|
| 101 | <HR>
|
---|
| 102 | <DL>
|
---|
| 103 | <DT>public class <B>Jar</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></DL>
|
---|
| 104 |
|
---|
| 105 | <P>
|
---|
| 106 | Creates a JAR archive.
|
---|
| 107 | <P>
|
---|
| 108 |
|
---|
| 109 | <P>
|
---|
| 110 | <DL>
|
---|
| 111 | <DT><B>Since:</B></DT>
|
---|
| 112 | <DD>Ant 1.1</DD>
|
---|
| 113 | </DL>
|
---|
| 114 | <HR>
|
---|
| 115 |
|
---|
| 116 | <P>
|
---|
| 117 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 118 |
|
---|
| 119 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
| 120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 121 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 122 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 123 | <B>Nested Class Summary</B></FONT></TD>
|
---|
| 124 | </TR>
|
---|
| 125 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 126 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 127 | <CODE>static class</CODE></FONT></TD>
|
---|
| 128 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.FilesetManifestConfig.html" title="class in org.apache.tools.ant.taskdefs">Jar.FilesetManifestConfig</A></B></CODE>
|
---|
| 129 |
|
---|
| 130 | <BR>
|
---|
| 131 | </TD>
|
---|
| 132 | </TR>
|
---|
| 133 | </TABLE>
|
---|
| 134 | <A NAME="nested_classes_inherited_from_class_org.apache.tools.ant.taskdefs.Zip"><!-- --></A>
|
---|
| 135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 136 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 137 | <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>
|
---|
| 138 | </TR>
|
---|
| 139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 140 | <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>
|
---|
| 141 | </TR>
|
---|
| 142 | </TABLE>
|
---|
| 143 |
|
---|
| 144 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 145 |
|
---|
| 146 | <A NAME="field_summary"><!-- --></A>
|
---|
| 147 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 148 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 149 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 150 | <B>Field Summary</B></FONT></TD>
|
---|
| 151 | </TR>
|
---|
| 152 | </TABLE>
|
---|
| 153 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.Zip"><!-- --></A>
|
---|
| 154 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 155 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 156 | <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>
|
---|
| 157 | </TR>
|
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 159 | <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>
|
---|
| 160 | </TR>
|
---|
| 161 | </TABLE>
|
---|
| 162 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
| 163 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 164 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 165 | <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>
|
---|
| 166 | </TR>
|
---|
| 167 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 168 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#fileset">fileset</A></CODE></TD>
|
---|
| 169 | </TR>
|
---|
| 170 | </TABLE>
|
---|
| 171 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 172 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 173 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 174 | <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>
|
---|
| 175 | </TR>
|
---|
| 176 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 177 | <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>
|
---|
| 178 | </TR>
|
---|
| 179 | </TABLE>
|
---|
| 180 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 181 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 182 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 183 | <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>
|
---|
| 184 | </TR>
|
---|
| 185 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 186 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
| 187 | </TR>
|
---|
| 188 | </TABLE>
|
---|
| 189 |
|
---|
| 190 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 191 |
|
---|
| 192 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 193 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 194 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 195 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 196 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 197 | </TR>
|
---|
| 198 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 199 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#Jar()">Jar</A></B>()</CODE>
|
---|
| 200 |
|
---|
| 201 | <BR>
|
---|
| 202 | constructor</TD>
|
---|
| 203 | </TR>
|
---|
| 204 | </TABLE>
|
---|
| 205 |
|
---|
| 206 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 207 |
|
---|
| 208 | <A NAME="method_summary"><!-- --></A>
|
---|
| 209 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 210 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 211 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 212 | <B>Method Summary</B></FONT></TD>
|
---|
| 213 | </TR>
|
---|
| 214 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 216 | <CODE> void</CODE></FONT></TD>
|
---|
| 217 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#addConfiguredIndexJars(org.apache.tools.ant.types.Path)">addConfiguredIndexJars</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> p)</CODE>
|
---|
| 218 |
|
---|
| 219 | <BR>
|
---|
| 220 | </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/Jar.html#addConfiguredManifest(org.apache.tools.ant.taskdefs.Manifest)">addConfiguredManifest</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.html" title="class in org.apache.tools.ant.taskdefs">Manifest</A> newManifest)</CODE>
|
---|
| 226 |
|
---|
| 227 | <BR>
|
---|
| 228 | Allows the manifest for the archive file to be provided inline
|
---|
| 229 | in the build file rather than in an external file.</TD>
|
---|
| 230 | </TR>
|
---|
| 231 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 233 | <CODE> void</CODE></FONT></TD>
|
---|
| 234 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#addMetainf(org.apache.tools.ant.types.ZipFileSet)">addMetainf</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</CODE>
|
---|
| 235 |
|
---|
| 236 | <BR>
|
---|
| 237 | Adds a zipfileset to include in the META-INF directory.</TD>
|
---|
| 238 | </TR>
|
---|
| 239 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 241 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 242 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#cleanUp()">cleanUp</A></B>()</CODE>
|
---|
| 243 |
|
---|
| 244 | <BR>
|
---|
| 245 | Make sure we don't think we already have a MANIFEST next time this task
|
---|
| 246 | gets executed.</TD>
|
---|
| 247 | </TR>
|
---|
| 248 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 250 | <CODE>protected boolean</CODE></FONT></TD>
|
---|
| 251 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#createEmptyZip(java.io.File)">createEmptyZip</A></B>(java.io.File zipFile)</CODE>
|
---|
| 252 |
|
---|
| 253 | <BR>
|
---|
| 254 | Create an empty zip file</TD>
|
---|
| 255 | </TR>
|
---|
| 256 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 258 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 259 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#finalizeZipOutputStream(org.apache.tools.zip.ZipOutputStream)">finalizeZipOutputStream</A></B>(<A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut)</CODE>
|
---|
| 260 |
|
---|
| 261 | <BR>
|
---|
| 262 | method for subclasses to override</TD>
|
---|
| 263 | </TR>
|
---|
| 264 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 266 | <CODE>protected static java.lang.String</CODE></FONT></TD>
|
---|
| 267 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#findJarName(java.lang.String, java.lang.String[])">findJarName</A></B>(java.lang.String fileName,
|
---|
| 268 | java.lang.String[] classpath)</CODE>
|
---|
| 269 |
|
---|
| 270 | <BR>
|
---|
| 271 | try to guess the name of the given file.</TD>
|
---|
| 272 | </TR>
|
---|
| 273 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 275 | <CODE>protected <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.ArchiveState.html" title="class in org.apache.tools.ant.taskdefs">Zip.ArchiveState</A></CODE></FONT></TD>
|
---|
| 276 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#getResourcesToAdd(org.apache.tools.ant.types.FileSet[], java.io.File, boolean)">getResourcesToAdd</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A>[] filesets,
|
---|
| 277 | java.io.File zipFile,
|
---|
| 278 | boolean needsUpdate)</CODE>
|
---|
| 279 |
|
---|
| 280 | <BR>
|
---|
| 281 | Collect the resources that are newer than the corresponding
|
---|
| 282 | entries (or missing) in the original archive.</TD>
|
---|
| 283 | </TR>
|
---|
| 284 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 286 | <CODE>protected static void</CODE></FONT></TD>
|
---|
| 287 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#grabFilesAndDirs(java.lang.String, java.util.List, java.util.List)">grabFilesAndDirs</A></B>(java.lang.String file,
|
---|
| 288 | java.util.List dirs,
|
---|
| 289 | java.util.List files)</CODE>
|
---|
| 290 |
|
---|
| 291 | <BR>
|
---|
| 292 | Grab lists of all root-level files and all directories
|
---|
| 293 | contained in the given archive.</TD>
|
---|
| 294 | </TR>
|
---|
| 295 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 296 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 297 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 298 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.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>
|
---|
| 299 |
|
---|
| 300 | <BR>
|
---|
| 301 | method for subclasses to override</TD>
|
---|
| 302 | </TR>
|
---|
| 303 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 304 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 305 | <CODE> void</CODE></FONT></TD>
|
---|
| 306 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#reset()">reset</A></B>()</CODE>
|
---|
| 307 |
|
---|
| 308 | <BR>
|
---|
| 309 | reset to default values.</TD>
|
---|
| 310 | </TR>
|
---|
| 311 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 312 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 313 | <CODE> void</CODE></FONT></TD>
|
---|
| 314 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setFilesetmanifest(org.apache.tools.ant.taskdefs.Jar.FilesetManifestConfig)">setFilesetmanifest</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.FilesetManifestConfig.html" title="class in org.apache.tools.ant.taskdefs">Jar.FilesetManifestConfig</A> config)</CODE>
|
---|
| 315 |
|
---|
| 316 | <BR>
|
---|
| 317 | Behavior when a Manifest is found in a zipfileset or zipgroupfileset file.</TD>
|
---|
| 318 | </TR>
|
---|
| 319 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 320 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 321 | <CODE> void</CODE></FONT></TD>
|
---|
| 322 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setIndex(boolean)">setIndex</A></B>(boolean flag)</CODE>
|
---|
| 323 |
|
---|
| 324 | <BR>
|
---|
| 325 | Set whether or not to create an index list for classes.</TD>
|
---|
| 326 | </TR>
|
---|
| 327 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 328 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 329 | <CODE> void</CODE></FONT></TD>
|
---|
| 330 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setJarfile(java.io.File)">setJarfile</A></B>(java.io.File jarFile)</CODE>
|
---|
| 331 |
|
---|
| 332 | <BR>
|
---|
| 333 | <B>Deprecated.</B> <I>Use setDestFile(File) instead</I></TD>
|
---|
| 334 | </TR>
|
---|
| 335 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 336 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 337 | <CODE> void</CODE></FONT></TD>
|
---|
| 338 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setManifest(java.io.File)">setManifest</A></B>(java.io.File manifestFile)</CODE>
|
---|
| 339 |
|
---|
| 340 | <BR>
|
---|
| 341 | The manifest file to use.</TD>
|
---|
| 342 | </TR>
|
---|
| 343 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 344 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 345 | <CODE> void</CODE></FONT></TD>
|
---|
| 346 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setManifestEncoding(java.lang.String)">setManifestEncoding</A></B>(java.lang.String manifestEncoding)</CODE>
|
---|
| 347 |
|
---|
| 348 | <BR>
|
---|
| 349 | Set whether or not to create an index list for classes.</TD>
|
---|
| 350 | </TR>
|
---|
| 351 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 352 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 353 | <CODE> void</CODE></FONT></TD>
|
---|
| 354 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#setWhenempty(org.apache.tools.ant.taskdefs.Zip.WhenEmpty)">setWhenempty</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.WhenEmpty.html" title="class in org.apache.tools.ant.taskdefs">Zip.WhenEmpty</A> we)</CODE>
|
---|
| 355 |
|
---|
| 356 | <BR>
|
---|
| 357 | Sets behavior of the task when no files match.</TD>
|
---|
| 358 | </TR>
|
---|
| 359 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 360 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 361 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 362 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.html#writeIndexLikeList(java.util.List, java.util.List, java.io.PrintWriter)">writeIndexLikeList</A></B>(java.util.List dirs,
|
---|
| 363 | java.util.List files,
|
---|
| 364 | java.io.PrintWriter writer)</CODE>
|
---|
| 365 |
|
---|
| 366 | <BR>
|
---|
| 367 | Writes the directory entries from the first and the filenames
|
---|
| 368 | from the second list to the given writer, one entry per line.</TD>
|
---|
| 369 | </TR>
|
---|
| 370 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 371 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 372 | <CODE>protected void</CODE></FONT></TD>
|
---|
| 373 | <TD><CODE><B><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></B>(java.io.InputStream is,
|
---|
| 374 | <A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut,
|
---|
| 375 | java.lang.String vPath,
|
---|
| 376 | long lastModified,
|
---|
| 377 | java.io.File fromArchive,
|
---|
| 378 | int mode)</CODE>
|
---|
| 379 |
|
---|
| 380 | <BR>
|
---|
| 381 | Overridden from Zip class to deal with manifests and index lists.</TD>
|
---|
| 382 | </TR>
|
---|
| 383 | </TABLE>
|
---|
| 384 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.Zip"><!-- --></A>
|
---|
| 385 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 386 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 387 | <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>
|
---|
| 388 | </TR>
|
---|
| 389 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 390 | <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>, <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></TD>
|
---|
| 391 | </TR>
|
---|
| 392 | </TABLE>
|
---|
| 393 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
| 394 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 395 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 396 | <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>
|
---|
| 397 | </TR>
|
---|
| 398 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 399 | <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>
|
---|
| 400 | </TR>
|
---|
| 401 | </TABLE>
|
---|
| 402 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 403 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 404 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 405 | <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>
|
---|
| 406 | </TR>
|
---|
| 407 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 408 | <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>
|
---|
| 409 | </TR>
|
---|
| 410 | </TABLE>
|
---|
| 411 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 412 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 413 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 414 | <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>
|
---|
| 415 | </TR>
|
---|
| 416 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 417 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A></CODE></TD>
|
---|
| 418 | </TR>
|
---|
| 419 | </TABLE>
|
---|
| 420 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 421 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 422 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 423 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 424 | </TR>
|
---|
| 425 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 426 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 427 | </TR>
|
---|
| 428 | </TABLE>
|
---|
| 429 |
|
---|
| 430 | <P>
|
---|
| 431 |
|
---|
| 432 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 433 |
|
---|
| 434 |
|
---|
| 435 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 436 |
|
---|
| 437 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 438 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 439 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 440 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 441 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 442 | </TR>
|
---|
| 443 | </TABLE>
|
---|
| 444 |
|
---|
| 445 | <A NAME="Jar()"><!-- --></A><H3>
|
---|
| 446 | Jar</H3>
|
---|
| 447 | <PRE>
|
---|
| 448 | public <B>Jar</B>()</PRE>
|
---|
| 449 | <DL>
|
---|
| 450 | <DD>constructor
|
---|
| 451 | <P>
|
---|
| 452 | </DL>
|
---|
| 453 |
|
---|
| 454 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 455 |
|
---|
| 456 | <A NAME="method_detail"><!-- --></A>
|
---|
| 457 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 458 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 459 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 460 | <B>Method Detail</B></FONT></TD>
|
---|
| 461 | </TR>
|
---|
| 462 | </TABLE>
|
---|
| 463 |
|
---|
| 464 | <A NAME="setWhenempty(org.apache.tools.ant.taskdefs.Zip.WhenEmpty)"><!-- --></A><H3>
|
---|
| 465 | setWhenempty</H3>
|
---|
| 466 | <PRE>
|
---|
| 467 | public void <B>setWhenempty</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.WhenEmpty.html" title="class in org.apache.tools.ant.taskdefs">Zip.WhenEmpty</A> we)</PRE>
|
---|
| 468 | <DL>
|
---|
| 469 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></CODE></B></DD>
|
---|
| 470 | <DD>Sets behavior of the task when no files match.
|
---|
| 471 | Possible values are: <code>fail</code> (throw an exception
|
---|
| 472 | and halt the build); <code>skip</code> (do not create
|
---|
| 473 | any archive, but issue a warning); <code>create</code>
|
---|
| 474 | (make an archive with no entries).
|
---|
| 475 | Default for zip tasks is <code>skip</code>;
|
---|
| 476 | for jar tasks, <code>create</code>.
|
---|
| 477 | <P>
|
---|
| 478 | <DD><DL>
|
---|
| 479 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#setWhenempty(org.apache.tools.ant.taskdefs.Zip.WhenEmpty)">setWhenempty</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>
|
---|
| 480 | </DD>
|
---|
| 481 | <DD><DL>
|
---|
| 482 | </DL>
|
---|
| 483 | </DD>
|
---|
| 484 | </DL>
|
---|
| 485 | <HR>
|
---|
| 486 |
|
---|
| 487 | <A NAME="setJarfile(java.io.File)"><!-- --></A><H3>
|
---|
| 488 | setJarfile</H3>
|
---|
| 489 | <PRE>
|
---|
| 490 | public void <B>setJarfile</B>(java.io.File jarFile)</PRE>
|
---|
| 491 | <DL>
|
---|
| 492 | <DD><B>Deprecated.</B> <I>Use setDestFile(File) instead</I>
|
---|
| 493 | <P>
|
---|
| 494 | <DD><DL>
|
---|
| 495 | </DL>
|
---|
| 496 | </DD>
|
---|
| 497 | </DL>
|
---|
| 498 | <HR>
|
---|
| 499 |
|
---|
| 500 | <A NAME="setIndex(boolean)"><!-- --></A><H3>
|
---|
| 501 | setIndex</H3>
|
---|
| 502 | <PRE>
|
---|
| 503 | public void <B>setIndex</B>(boolean flag)</PRE>
|
---|
| 504 | <DL>
|
---|
| 505 | <DD>Set whether or not to create an index list for classes.
|
---|
| 506 | This may speed up classloading in some cases.
|
---|
| 507 | <P>
|
---|
| 508 | <DD><DL>
|
---|
| 509 | </DL>
|
---|
| 510 | </DD>
|
---|
| 511 | </DL>
|
---|
| 512 | <HR>
|
---|
| 513 |
|
---|
| 514 | <A NAME="setManifestEncoding(java.lang.String)"><!-- --></A><H3>
|
---|
| 515 | setManifestEncoding</H3>
|
---|
| 516 | <PRE>
|
---|
| 517 | public void <B>setManifestEncoding</B>(java.lang.String manifestEncoding)</PRE>
|
---|
| 518 | <DL>
|
---|
| 519 | <DD>Set whether or not to create an index list for classes.
|
---|
| 520 | This may speed up classloading in some cases.
|
---|
| 521 | <P>
|
---|
| 522 | <DD><DL>
|
---|
| 523 | </DL>
|
---|
| 524 | </DD>
|
---|
| 525 | </DL>
|
---|
| 526 | <HR>
|
---|
| 527 |
|
---|
| 528 | <A NAME="addConfiguredManifest(org.apache.tools.ant.taskdefs.Manifest)"><!-- --></A><H3>
|
---|
| 529 | addConfiguredManifest</H3>
|
---|
| 530 | <PRE>
|
---|
| 531 | public void <B>addConfiguredManifest</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Manifest.html" title="class in org.apache.tools.ant.taskdefs">Manifest</A> newManifest)
|
---|
| 532 | throws <A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></PRE>
|
---|
| 533 | <DL>
|
---|
| 534 | <DD>Allows the manifest for the archive file to be provided inline
|
---|
| 535 | in the build file rather than in an external file.
|
---|
| 536 | <P>
|
---|
| 537 | <DD><DL>
|
---|
| 538 | <DT><B>Parameters:</B><DD><CODE>newManifest</CODE> -
|
---|
| 539 | <DT><B>Throws:</B>
|
---|
| 540 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/ManifestException.html" title="class in org.apache.tools.ant.taskdefs">ManifestException</A></CODE></DL>
|
---|
| 541 | </DD>
|
---|
| 542 | </DL>
|
---|
| 543 | <HR>
|
---|
| 544 |
|
---|
| 545 | <A NAME="setManifest(java.io.File)"><!-- --></A><H3>
|
---|
| 546 | setManifest</H3>
|
---|
| 547 | <PRE>
|
---|
| 548 | public void <B>setManifest</B>(java.io.File manifestFile)</PRE>
|
---|
| 549 | <DL>
|
---|
| 550 | <DD>The manifest file to use. This can be either the location of a manifest,
|
---|
| 551 | or the name of a jar added through a fileset. If its the name of an added
|
---|
| 552 | jar, the task expects the manifest to be in the jar at META-INF/MANIFEST.MF.
|
---|
| 553 | <P>
|
---|
| 554 | <DD><DL>
|
---|
| 555 | <DT><B>Parameters:</B><DD><CODE>manifestFile</CODE> - the manifest file to use.</DL>
|
---|
| 556 | </DD>
|
---|
| 557 | </DL>
|
---|
| 558 | <HR>
|
---|
| 559 |
|
---|
| 560 | <A NAME="setFilesetmanifest(org.apache.tools.ant.taskdefs.Jar.FilesetManifestConfig)"><!-- --></A><H3>
|
---|
| 561 | setFilesetmanifest</H3>
|
---|
| 562 | <PRE>
|
---|
| 563 | public void <B>setFilesetmanifest</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.FilesetManifestConfig.html" title="class in org.apache.tools.ant.taskdefs">Jar.FilesetManifestConfig</A> config)</PRE>
|
---|
| 564 | <DL>
|
---|
| 565 | <DD>Behavior when a Manifest is found in a zipfileset or zipgroupfileset file.
|
---|
| 566 | Valid values are "skip", "merge", and "mergewithoutmain".
|
---|
| 567 | "merge" will merge all of manifests together, and merge this into any
|
---|
| 568 | other specified manifests.
|
---|
| 569 | "mergewithoutmain" merges everything but the Main section of the manifests.
|
---|
| 570 | Default value is "skip".
|
---|
| 571 |
|
---|
| 572 | Note: if this attribute's value is not "skip", the created jar will not
|
---|
| 573 | be readable by using java.util.jar.JarInputStream
|
---|
| 574 | <P>
|
---|
| 575 | <DD><DL>
|
---|
| 576 | <DT><B>Parameters:</B><DD><CODE>config</CODE> - setting for found manifest behavior.</DL>
|
---|
| 577 | </DD>
|
---|
| 578 | </DL>
|
---|
| 579 | <HR>
|
---|
| 580 |
|
---|
| 581 | <A NAME="addMetainf(org.apache.tools.ant.types.ZipFileSet)"><!-- --></A><H3>
|
---|
| 582 | addMetainf</H3>
|
---|
| 583 | <PRE>
|
---|
| 584 | public void <B>addMetainf</B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fs)</PRE>
|
---|
| 585 | <DL>
|
---|
| 586 | <DD>Adds a zipfileset to include in the META-INF directory.
|
---|
| 587 | <P>
|
---|
| 588 | <DD><DL>
|
---|
| 589 | <DT><B>Parameters:</B><DD><CODE>fs</CODE> - zipfileset to add</DL>
|
---|
| 590 | </DD>
|
---|
| 591 | </DL>
|
---|
| 592 | <HR>
|
---|
| 593 |
|
---|
| 594 | <A NAME="addConfiguredIndexJars(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
| 595 | addConfiguredIndexJars</H3>
|
---|
| 596 | <PRE>
|
---|
| 597 | public void <B>addConfiguredIndexJars</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> p)</PRE>
|
---|
| 598 | <DL>
|
---|
| 599 | <DD><DL>
|
---|
| 600 | <DT><B>Since:</B></DT>
|
---|
| 601 | <DD>Ant 1.6.2</DD>
|
---|
| 602 | </DL>
|
---|
| 603 | </DD>
|
---|
| 604 | </DL>
|
---|
| 605 | <HR>
|
---|
| 606 |
|
---|
| 607 | <A NAME="initZipOutputStream(org.apache.tools.zip.ZipOutputStream)"><!-- --></A><H3>
|
---|
| 608 | initZipOutputStream</H3>
|
---|
| 609 | <PRE>
|
---|
| 610 | protected void <B>initZipOutputStream</B>(<A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut)
|
---|
| 611 | throws java.io.IOException,
|
---|
| 612 | <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 613 | <DL>
|
---|
| 614 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></CODE></B></DD>
|
---|
| 615 | <DD>method for subclasses to override
|
---|
| 616 | <P>
|
---|
| 617 | <DD><DL>
|
---|
| 618 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#initZipOutputStream(org.apache.tools.zip.ZipOutputStream)">initZipOutputStream</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>
|
---|
| 619 | </DD>
|
---|
| 620 | <DD><DL>
|
---|
| 621 |
|
---|
| 622 | <DT><B>Throws:</B>
|
---|
| 623 | <DD><CODE>java.io.IOException</CODE>
|
---|
| 624 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
| 625 | </DD>
|
---|
| 626 | </DL>
|
---|
| 627 | <HR>
|
---|
| 628 |
|
---|
| 629 | <A NAME="finalizeZipOutputStream(org.apache.tools.zip.ZipOutputStream)"><!-- --></A><H3>
|
---|
| 630 | finalizeZipOutputStream</H3>
|
---|
| 631 | <PRE>
|
---|
| 632 | protected void <B>finalizeZipOutputStream</B>(<A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut)
|
---|
| 633 | throws java.io.IOException,
|
---|
| 634 | <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 635 | <DL>
|
---|
| 636 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></CODE></B></DD>
|
---|
| 637 | <DD>method for subclasses to override
|
---|
| 638 | <P>
|
---|
| 639 | <DD><DL>
|
---|
| 640 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#finalizeZipOutputStream(org.apache.tools.zip.ZipOutputStream)">finalizeZipOutputStream</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>
|
---|
| 641 | </DD>
|
---|
| 642 | <DD><DL>
|
---|
| 643 |
|
---|
| 644 | <DT><B>Throws:</B>
|
---|
| 645 | <DD><CODE>java.io.IOException</CODE>
|
---|
| 646 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
| 647 | </DD>
|
---|
| 648 | </DL>
|
---|
| 649 | <HR>
|
---|
| 650 |
|
---|
| 651 | <A NAME="zipFile(java.io.InputStream, org.apache.tools.zip.ZipOutputStream, java.lang.String, long, java.io.File, int)"><!-- --></A><H3>
|
---|
| 652 | zipFile</H3>
|
---|
| 653 | <PRE>
|
---|
| 654 | protected void <B>zipFile</B>(java.io.InputStream is,
|
---|
| 655 | <A HREF="../../../../../org/apache/tools/zip/ZipOutputStream.html" title="class in org.apache.tools.zip">ZipOutputStream</A> zOut,
|
---|
| 656 | java.lang.String vPath,
|
---|
| 657 | long lastModified,
|
---|
| 658 | java.io.File fromArchive,
|
---|
| 659 | int mode)
|
---|
| 660 | throws java.io.IOException</PRE>
|
---|
| 661 | <DL>
|
---|
| 662 | <DD>Overridden from Zip class to deal with manifests and index lists.
|
---|
| 663 | <P>
|
---|
| 664 | <DD><DL>
|
---|
| 665 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#zipFile(java.io.InputStream, org.apache.tools.zip.ZipOutputStream, java.lang.String, long, java.io.File, 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>
|
---|
| 666 | </DD>
|
---|
| 667 | <DD><DL>
|
---|
| 668 | <DT><B>Parameters:</B><DD><CODE>is</CODE> - the stream to read data for the entry from.<DD><CODE>zOut</CODE> - the stream to write to.<DD><CODE>vPath</CODE> - the name this entry shall have in the archive.<DD><CODE>lastModified</CODE> - last modification time for the entry.<DD><CODE>fromArchive</CODE> - the original archive we are copying this
|
---|
| 669 | entry from, will be null if we are not copying from an archive.<DD><CODE>mode</CODE> - the Unix permissions to set.
|
---|
| 670 | <DT><B>Throws:</B>
|
---|
| 671 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
| 672 | </DD>
|
---|
| 673 | </DL>
|
---|
| 674 | <HR>
|
---|
| 675 |
|
---|
| 676 | <A NAME="getResourcesToAdd(org.apache.tools.ant.types.FileSet[], java.io.File, boolean)"><!-- --></A><H3>
|
---|
| 677 | getResourcesToAdd</H3>
|
---|
| 678 | <PRE>
|
---|
| 679 | protected <A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.ArchiveState.html" title="class in org.apache.tools.ant.taskdefs">Zip.ArchiveState</A> <B>getResourcesToAdd</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A>[] filesets,
|
---|
| 680 | java.io.File zipFile,
|
---|
| 681 | boolean needsUpdate)
|
---|
| 682 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 683 | <DL>
|
---|
| 684 | <DD>Collect the resources that are newer than the corresponding
|
---|
| 685 | entries (or missing) in the original archive.
|
---|
| 686 |
|
---|
| 687 | <p>If we are going to recreate the archive instead of updating
|
---|
| 688 | it, all resources should be considered as new, if a single one
|
---|
| 689 | is. Because of this, subclasses overriding this method must
|
---|
| 690 | call <code>super.getResourcesToAdd</code> and indicate with the
|
---|
| 691 | third arg if they already know that the archive is
|
---|
| 692 | out-of-date.</p>
|
---|
| 693 | <P>
|
---|
| 694 | <DD><DL>
|
---|
| 695 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#getResourcesToAdd(org.apache.tools.ant.types.FileSet[], java.io.File, boolean)">getResourcesToAdd</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>
|
---|
| 696 | </DD>
|
---|
| 697 | <DD><DL>
|
---|
| 698 | <DT><B>Parameters:</B><DD><CODE>filesets</CODE> - The filesets to grab resources from<DD><CODE>zipFile</CODE> - intended archive file (may or may not exist)<DD><CODE>needsUpdate</CODE> - whether we already know that the archive is
|
---|
| 699 | out-of-date. Subclasses overriding this method are supposed to
|
---|
| 700 | set this value correctly in their call to
|
---|
| 701 | super.getResourcesToAdd.
|
---|
| 702 | <DT><B>Returns:</B><DD>an array of resources to add for each fileset passed in as well
|
---|
| 703 | as a flag that indicates whether the archive is uptodate.
|
---|
| 704 | <DT><B>Throws:</B>
|
---|
| 705 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if it likes</DL>
|
---|
| 706 | </DD>
|
---|
| 707 | </DL>
|
---|
| 708 | <HR>
|
---|
| 709 |
|
---|
| 710 | <A NAME="createEmptyZip(java.io.File)"><!-- --></A><H3>
|
---|
| 711 | createEmptyZip</H3>
|
---|
| 712 | <PRE>
|
---|
| 713 | protected boolean <B>createEmptyZip</B>(java.io.File zipFile)
|
---|
| 714 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 715 | <DL>
|
---|
| 716 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html" title="class in org.apache.tools.ant.taskdefs">Zip</A></CODE></B></DD>
|
---|
| 717 | <DD>Create an empty zip file
|
---|
| 718 | <P>
|
---|
| 719 | <DD><DL>
|
---|
| 720 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#createEmptyZip(java.io.File)">createEmptyZip</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>
|
---|
| 721 | </DD>
|
---|
| 722 | <DD><DL>
|
---|
| 723 |
|
---|
| 724 | <DT><B>Returns:</B><DD>true for historic reasons
|
---|
| 725 | <DT><B>Throws:</B>
|
---|
| 726 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
| 727 | </DD>
|
---|
| 728 | </DL>
|
---|
| 729 | <HR>
|
---|
| 730 |
|
---|
| 731 | <A NAME="cleanUp()"><!-- --></A><H3>
|
---|
| 732 | cleanUp</H3>
|
---|
| 733 | <PRE>
|
---|
| 734 | protected void <B>cleanUp</B>()</PRE>
|
---|
| 735 | <DL>
|
---|
| 736 | <DD>Make sure we don't think we already have a MANIFEST next time this task
|
---|
| 737 | gets executed.
|
---|
| 738 | <P>
|
---|
| 739 | <DD><DL>
|
---|
| 740 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#cleanUp()">cleanUp</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>
|
---|
| 741 | </DD>
|
---|
| 742 | <DD><DL>
|
---|
| 743 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#cleanUp()"><CODE>Zip.cleanUp()</CODE></A></DL>
|
---|
| 744 | </DD>
|
---|
| 745 | </DL>
|
---|
| 746 | <HR>
|
---|
| 747 |
|
---|
| 748 | <A NAME="reset()"><!-- --></A><H3>
|
---|
| 749 | reset</H3>
|
---|
| 750 | <PRE>
|
---|
| 751 | public void <B>reset</B>()</PRE>
|
---|
| 752 | <DL>
|
---|
| 753 | <DD>reset to default values.
|
---|
| 754 | <P>
|
---|
| 755 | <DD><DL>
|
---|
| 756 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#reset()">reset</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>
|
---|
| 757 | </DD>
|
---|
| 758 | <DD><DL>
|
---|
| 759 | <DT><B>Since:</B></DT>
|
---|
| 760 | <DD>1.44, Ant 1.5</DD>
|
---|
| 761 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Zip.html#reset()"><CODE>Zip.reset()</CODE></A></DL>
|
---|
| 762 | </DD>
|
---|
| 763 | </DL>
|
---|
| 764 | <HR>
|
---|
| 765 |
|
---|
| 766 | <A NAME="writeIndexLikeList(java.util.List, java.util.List, java.io.PrintWriter)"><!-- --></A><H3>
|
---|
| 767 | writeIndexLikeList</H3>
|
---|
| 768 | <PRE>
|
---|
| 769 | protected final void <B>writeIndexLikeList</B>(java.util.List dirs,
|
---|
| 770 | java.util.List files,
|
---|
| 771 | java.io.PrintWriter writer)
|
---|
| 772 | throws java.io.IOException</PRE>
|
---|
| 773 | <DL>
|
---|
| 774 | <DD>Writes the directory entries from the first and the filenames
|
---|
| 775 | from the second list to the given writer, one entry per line.
|
---|
| 776 | <P>
|
---|
| 777 | <DD><DL>
|
---|
| 778 |
|
---|
| 779 | <DT><B>Throws:</B>
|
---|
| 780 | <DD><CODE>java.io.IOException</CODE><DT><B>Since:</B></DT>
|
---|
| 781 | <DD>Ant 1.6.2</DD>
|
---|
| 782 | </DL>
|
---|
| 783 | </DD>
|
---|
| 784 | </DL>
|
---|
| 785 | <HR>
|
---|
| 786 |
|
---|
| 787 | <A NAME="findJarName(java.lang.String, java.lang.String[])"><!-- --></A><H3>
|
---|
| 788 | findJarName</H3>
|
---|
| 789 | <PRE>
|
---|
| 790 | protected static final java.lang.String <B>findJarName</B>(java.lang.String fileName,
|
---|
| 791 | java.lang.String[] classpath)</PRE>
|
---|
| 792 | <DL>
|
---|
| 793 | <DD>try to guess the name of the given file.
|
---|
| 794 |
|
---|
| 795 | <p>If this jar has a classpath attribute in its manifest, we
|
---|
| 796 | can assume that it will only require an index of jars listed
|
---|
| 797 | there. try to find which classpath entry is most likely the
|
---|
| 798 | one the given file name points to.</p>
|
---|
| 799 |
|
---|
| 800 | <p>In the absence of a classpath attribute, assume the other
|
---|
| 801 | files will be placed inside the same directory as this jar and
|
---|
| 802 | use their basename.</p>
|
---|
| 803 |
|
---|
| 804 | <p>if there is a classpath and the given file doesn't match any
|
---|
| 805 | of its entries, return null.</p>
|
---|
| 806 | <P>
|
---|
| 807 | <DD><DL>
|
---|
| 808 | <DT><B>Since:</B></DT>
|
---|
| 809 | <DD>Ant 1.7</DD>
|
---|
| 810 | </DL>
|
---|
| 811 | </DD>
|
---|
| 812 | </DL>
|
---|
| 813 | <HR>
|
---|
| 814 |
|
---|
| 815 | <A NAME="grabFilesAndDirs(java.lang.String, java.util.List, java.util.List)"><!-- --></A><H3>
|
---|
| 816 | grabFilesAndDirs</H3>
|
---|
| 817 | <PRE>
|
---|
| 818 | protected static final void <B>grabFilesAndDirs</B>(java.lang.String file,
|
---|
| 819 | java.util.List dirs,
|
---|
| 820 | java.util.List files)
|
---|
| 821 | throws java.io.IOException</PRE>
|
---|
| 822 | <DL>
|
---|
| 823 | <DD>Grab lists of all root-level files and all directories
|
---|
| 824 | contained in the given archive.
|
---|
| 825 | <P>
|
---|
| 826 | <DD><DL>
|
---|
| 827 |
|
---|
| 828 | <DT><B>Throws:</B>
|
---|
| 829 | <DD><CODE>java.io.IOException</CODE><DT><B>Since:</B></DT>
|
---|
| 830 | <DD>Ant 1.7</DD>
|
---|
| 831 | </DL>
|
---|
| 832 | </DD>
|
---|
| 833 | </DL>
|
---|
| 834 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 835 | <HR>
|
---|
| 836 |
|
---|
| 837 |
|
---|
| 838 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 839 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 840 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 841 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 842 | <TR>
|
---|
| 843 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 844 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 845 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 846 | <TR ALIGN="center" VALIGN="top">
|
---|
| 847 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 848 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 849 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 850 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 851 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 852 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 853 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 854 | </TR>
|
---|
| 855 | </TABLE>
|
---|
| 856 | </TD>
|
---|
| 857 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 858 | </EM>
|
---|
| 859 | </TD>
|
---|
| 860 | </TR>
|
---|
| 861 |
|
---|
| 862 | <TR>
|
---|
| 863 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 864 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Input.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 865 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Jar.FilesetManifestConfig.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 866 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 867 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 868 | <A HREF="Jar.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 869 | <SCRIPT type="text/javascript">
|
---|
| 870 | <!--
|
---|
| 871 | if(window==top) {
|
---|
| 872 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 873 | }
|
---|
| 874 | //-->
|
---|
| 875 | </SCRIPT>
|
---|
| 876 | <NOSCRIPT>
|
---|
| 877 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 878 | </NOSCRIPT>
|
---|
| 879 |
|
---|
| 880 | </FONT></TD>
|
---|
| 881 | </TR>
|
---|
| 882 | <TR>
|
---|
| 883 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 884 | SUMMARY: <A HREF="#nested_class_summary">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>
|
---|
| 885 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 886 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 887 | </TR>
|
---|
| 888 | </TABLE>
|
---|
| 889 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 890 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 891 |
|
---|
| 892 | <HR>
|
---|
| 893 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 894 | </BODY>
|
---|
| 895 | </HTML>
|
---|