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 --- .../apache-ant-1.9.6/manual/Tasks/truncate.html | 109 --------------------- 1 file changed, 109 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/truncate.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/truncate.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/truncate.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/truncate.html deleted file mode 100644 index b7df3f7e..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/truncate.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -Truncate Task - - - - -

Truncate

-

Description

- -

Set the length of one or more files, as the intermittently available -truncate Unix utility/function. In addition to working with -a single file, this Task can also work on -resources and resource collections. -Since Apache Ant 1.7.1. -

- -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
fileThe name of the file.Unless a nested resource collection element - has been specified.
lengthSpecifies the new file length (in bytes) to set. - The following suffixes are supported: -
    -
  • K : Kilobytes (1024 bytes)
  • -
  • M : Megabytes (1024 K)
  • -
  • G : Gigabytes (1024 M)
  • -
  • T : Terabytes (1024 G)
  • -
  • P : Petabytes (1024 T)
  • -
-
At most one of these. - Omitting both implies length="0". -
adjustSpecifies the number of bytes - (and positive/negative direction) - by which to adjust file lengths. The same suffixes are supported - for this attribute as for the length attribute. -
createWhether to create nonexistent files.No, default true.
mkdirsWhether to create nonexistent parent - directories when creating new files.No, default false.
-

Parameters specified as nested elements

-

any resource collection

- -

You can use any number of nested resource collection elements to -define the resources for this task and refer to resources defined -elsewhere. Note: resources passed to this task are expected -to be filesystem-based.

- -

Examples

- -
  <truncate file="foo" />
-

Sets the length of file foo to zero.

- -
  <truncate file="foo" length="1K" />
-

Sets the length of file foo to 1 kilobyte (1024 bytes).

- -
  <truncate file="foo" adjust="1K" />
-

Adjusts the length of file foo upward by 1 kilobyte.

- -
  <truncate file="foo" adjust="-1M" />
-

Adjusts the length of file foo downward by 1 megabyte.

- - - -- cgit 1.2.3-korg