From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../apache-ant-1.9.6/manual/Types/zipfileset.html | 148 +++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Types/zipfileset.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Types/zipfileset.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Types/zipfileset.html b/framework/src/ant/apache-ant-1.9.6/manual/Types/zipfileset.html new file mode 100644 index 00000000..955e2718 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Types/zipfileset.html @@ -0,0 +1,148 @@ + + + + + + +ZipFileSet Type + + +

ZipFileSet

+ +

A <zipfileset> is a special form of a <fileset> which can behave in 2 +different ways :
+

+ +

<zipfileset> supports all attributes of <fileset> + in addition to those listed below. Note that zip archives in general + don't contain entries with leading slashes so you shouldn't use + include/exclude patterns that start with slashes either.

+ +

Since Ant 1.6, a zipfileset can be defined with the id attribute and referred to with +the refid attribute.
+

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
prefixall files in the fileset are prefixed with that +path in the archive.No
fullpaththe file described by the fileset is placed at +that exact location in the archive.No
srcmay be used in place of the dir attribute + to specify a zip file whose contents will be extracted and included +in the archive.No
filemodeA 3 digit octal string, specify the user, group +and other modes in the standard Unix fashion. Only applies to +plain files. Default is 644. since Ant 1.5.2.No
dirmodeA 3 digit octal string, specify the user, group +and other modes in the standard Unix fashion. Only applies to +directories. Default is 755. since Ant 1.5.2.No
encodingThe character encoding to use for filenames + inside the zip file. For a list of possible values see the Supported Encodings. + Defaults to the platform's default character encoding. + No
erroronmissingarchive + Specify what happens if the archive does not exist. + If true, a build error will happen; if false, the fileset + will be ignored/empty. + Defaults to true. + Since Ant 1.8.0 + No
+

The fullpath attribute can only be set for filesets that +represent a single file. The prefix and fullpath +attributes cannot both be set on the same fileset.

+

When using the src attribute, include and exclude patterns +may be used to specify a subset of the archive for inclusion in the +archive as with the dir attribute.

+ +

Please note that currently only the tar and zip tasks use the permission.

+ +

Parameters specified as nested elements

+ +

any file system based resource or +single element resource collection

+ +

The specified resource will be used as src.

+ +

Examples

+
+
  <zip destfile="${dist}/manual.zip">
<zipfileset dir="htdocs/manual" prefix="docs/user-guide"/>
<zipfileset dir="." includes="ChangeLog27.txt" fullpath="docs/ChangeLog.txt"/>
<zipfileset src="examples.zip" includes="**/*.html" prefix="docs/examples"/>
</zip>
+

zips all files in the htdocs/manual directory into +the docs/user-guide directory in the archive, adds the +file ChangeLog27.txt in the current directory as docs/ChangeLog.txt, +and includes all the html files in examples.zip under docs/examples. +The archive might end up containing the files:

+ docs/user-guide/html/index.html
+docs/ChangeLog.txt
+docs/examples/index.html
+
+ + + + -- cgit 1.2.3-korg