Name
cab
Synopsis
Creates Microsoft CAB archives. On Windows platforms, you must
include the Microsoft cabarc
tool on the path.
On non-Windows platforms, you can use
libcabinet
. Information on this library can be found at http://www.freshports.org/archivers/libcabinet/. The library can be downloaded from the mirror site ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/.
Attributes
-
basedir
(all, File, Y) The directory from which to archive files.
-
cabfile
(all, File, Y) The name of the CAB file to create.
-
compress
(all, boolean, N) If
true
, compress files. Defaults totrue
.-
defaultexcludes
(all, boolean, N) Determines whether to use default excludes. Defaults to
true
.-
excludes
(all, String, N) A comma-separated list of file patterns to exclude.
-
excludesfile
(all, File, N) The name of a file containing one exclude pattern per line.
-
includes
(all, String, N) A comma-separated list of file patterns to include.
-
includesfile
(all, File, N) The name of a file containing one include pattern per line.
-
options
(all, String, N) Specifies additional command-line arguments for the underlying
cabarc
command.-
verbose
(all, boolean, N) If
true
, the task instructs thecabarc
command to operate in verbose mode. Defaults tofalse
.
Content
- 0..n nested
patternset
elements:<exclude>
,<include>
,<patternset>
(all);<excludesfile>
,<includesfile>
(1.4) Used in place of their corresponding attributes, these specify the set of included and excluded source files.
- 0..n nested
<fileset>
elements (all) fileset
elements specifying ...
Get Ant: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.