From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/unpack.html | 117 --------------------- 1 file changed, 117 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/unpack.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/unpack.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/unpack.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/unpack.html deleted file mode 100644 index dcc88a9a..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/unpack.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - -GUnzip/BUnzip2 Task - - - - -

GUnzip/BUnzip2

-

Description

-

Expands a resource packed using GZip or BZip2.

- -

If dest is a directory the name of the destination file is -the same as src (with the ".gz" or ".bz2" -extension removed if present). If dest is omitted, the parent -dir of src is taken. The file is only expanded if the source -resource is newer than the destination file, or when the destination file -does not exist.

- -

Parameters

- - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
srcthe file to expand.Yes, or a nested resource collection.
destthe destination file or directory.No
-

Parameters specified as nested elements

- -

any resource or single element -resource collection

- -

The specified resource will be used as src.

- -

Examples

-
-<gunzip src="test.tar.gz"/>
-
-

expands test.tar.gz to test.tar

-
-<bunzip2 src="test.tar.bz2"/>
-
-

expands test.tar.bz2 to test.tar

-
-<gunzip src="test.tar.gz" dest="test2.tar"/>
-
-

expands test.tar.gz to test2.tar

-
-<gunzip src="test.tar.gz" dest="subdir"/>
-
-

expands test.tar.gz to subdir/test.tar (assuming -subdir is a directory).

-
-<gunzip dest=".">
-  <url url="http://example.org/archive.tar.gz"/>
-</gunzip>
-
-

downloads http://example.org/archive.tar.gz and expands it -to archive.tar in the project's basedir on the fly.

- -

Related tasks

- -
-<gunzip src="some-archive.gz" dest="some-dest-dir"/>
-
- -is identical to - -
-<copy todir="some-dest-dir">
-  <gzipresource>
-    <file file="some-archive.gz"/>
-  </gzipresource>
-  <mapper type="glob" from="*.gz" to="*"/>
-</copy>
-
- -

The same is also true for <bunzip2> and -<bzip2resource>. <copy> offers -additional features like filtering files on the fly, -allowing a file to be mapped to multiple destinations, preserving the -last modified time or a configurable file system timestamp -granularity.

- - - - - -- cgit 1.2.3-korg