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 --- .../src/ant/apache-ant-1.9.6/manual/Tasks/cab.html | 167 +++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/cab.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/cab.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/cab.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/cab.html new file mode 100644 index 00000000..e981827a --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/cab.html @@ -0,0 +1,167 @@ + + + + + + +Cab Task + + + + +

Cab

+

Description

+

The cab task creates Microsoft cab archive files. It is invoked +similar to the jar or zip tasks. +This task will work on Windows using the external cabarc tool (provided by Microsoft) +which must be located in your executable path.

+

To use this task on other platforms you need to download and compile libcabinet from + +http://trill.cis.fordham.edu/~barbacha/cabinet_library/.

+

See the section on directory based +tasks, on how the inclusion/exclusion of files works, and how to +write patterns.

+

This task forms an implicit FileSet and +supports most attributes of <fileset> +(dir becomes basedir) as well as the nested +<include>, <exclude> and +<patternset> elements.

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
cabfilethe name of the cab file to create.Yes
basedirthe directory to start archiving files from.No
verboseset to "yes" if you want to see the output from + the cabarc tool. defaults to "no".No
compressset to "no" to store files without compressing. + defaults to "yes".No
optionsuse to set additional command-line options for + the cabarc tool. should not normally be necessary.No
includescomma- or space-separated list of patterns of files that + must be included. All files are included when omitted.No
includesfilethe name of a file. Each line of this file is + taken to be an include patternNo
excludescomma- or space-separated list of patterns of files that + must be excluded. No files (except default excludes) are excluded + when omitted.No
excludesfilethe name of a file. Each line of this file is + taken to be an exclude patternNo
defaultexcludesindicates whether default excludes should be used + or not ("yes"/"no"). Default excludes are used when omitted.No
+

Parameters specified as nested elements

+

fileset

+ +

The cab task supports one nested <fileset> +element to specify the files to be included in the archive. + If this is specified, the "basedir" attribute cannot be used. +

+ +

Examples

+
+<cab cabfile="${dist}/manual.cab"
+     basedir="htdocs/manual"
+  />
+
+

cabs all files in the htdocs/manual directory into a file called +manual.cab in the ${dist} directory.

+
+<cab cabfile="${dist}/manual.cab"
+     basedir="htdocs/manual"
+     excludes="mydocs/**, **/todo.html"
+  />
+
+

cabs all files in the htdocs/manual directory into a file called +manual.cab in the ${dist} directory. Files in the directory mydocs, +or files with the name todo.html are excluded.

+
+<cab cabfile="${dist}/manual.cab"
+     basedir="htdocs/manual"
+     includes="api/**/*.html"
+     excludes="**/todo.html"
+     verbose="yes"
+  />
+
+

Cab all files in the htdocs/manual directory into a file called +manual.cab in the ${dist} directory. Only html files under the +directory api are archived, and files with the name todo.html are +excluded. Output from the cabarc tool is displayed in the build +output.

+ +
+<cab cabfile="${dist}/manual.cab"
+     verbose="yes">
+  <fileset
+       dir="htdocs/manual"
+       includes="api/**/*.html"
+       excludes="**/todo.html"
+  />
+</cab>
+
+

is equivalent to the example above.

+ + + + + + -- cgit 1.2.3-korg