Name

untar

Synopsis

Expands a tar archive.

Attributes

dest (all, File, Y)

The destination directory.

overwrite (1.4, boolean, N)

If true, overwrite files even if they are newer than those in the tar file. Defaults to true.

src (all, File, Y)

The tar file to expand.

Content

None.

Example Usage

<untar src="foo.tar" dest="${builddir}"/>

See Also

See the tar task.

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.