Name

native2ascii

Synopsis

Converts files with native encoding to ASCII containing escaped Unicode characters.

Attributes

defaultexcludes (all, boolean, N)

Determines whether to use default excludes. Defaults to true.

dest (all, File, Y)

The destination directory for output.

encoding (all, String, N)

The character encoding of the source files. Defaults to the platform default encoding.

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.

ext (all, String, N)

The file extension used for renaming output files. If unspecified, files are not renamed.

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.

reverse (all, boolean, N)

If true, convert from ASCII to native. Defaults to false.

src (all, File, N)

The directory containing files to convert. Defaults to the project base directory.

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 deployment descriptors.

0,1 nested <mapper> elements (1.3, 1.4)

Defines how filenames are renamed. If both <mapper> and the ext attribute are specified, the mapper takes precedence. mappers are described in Chapter 4.

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.