From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/copydir.html | 136 +++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/copydir.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/copydir.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/copydir.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/copydir.html new file mode 100644 index 00000000..9e9e60e1 --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/copydir.html @@ -0,0 +1,136 @@ + + + + + + +Copydir Task + + + + +

Copydir

+

Deprecated

+

This task has been deprecated. Use the Copy task instead.

+

Description

+

Copies a directory tree from the source to the destination.

+

It is possible to refine the set of files that are being copied. This can be +done with the includes, includesfile, excludes, excludesfile and defaultexcludes +attributes. With the includes or includesfile attribute you specify the files you want to +have included by using patterns. The exclude or excludesfile attribute is used to specify +the files you want to have excluded. This is also done with patterns. And +finally with the defaultexcludes attribute, you can specify whether you +want to use default exclusions or not. See the section on directory based tasks, on how the +inclusion/exclusion of files works, and how to write patterns.

+

This task forms an implicit FileSet and +supports most attributes of <fileset> +(dir becomes src) as well as the nested +<include>, <exclude> and +<patternset> elements.

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
srcthe directory to copy.Yes
destthe directory to copy to.Yes
includescomma- or space-separated list of patterns of files that must be + included. All files are included when omitted.No
includesfilethe name of a file. Each line of this file is + taken to be an include patternNo
excludescomma- or space-separated list of patterns of files that must be + excluded. No files (except default excludes) are excluded when omitted.No
excludesfilethe name of a file. Each line of this file is + taken to be an exclude patternNo
defaultexcludesindicates whether default excludes should be used or not + ("yes"/"no"). Default excludes are used when omitted.No
filteringindicates whether token filtering should take place during + the copyNo
flattenignore directory structure of source directory, + copy all files into a single directory, specified by the dest + attribute (default is false).No
forceoverwriteoverwrite existing files even if the destination + files are newer (default is false).No
+

Examples

+
  <copydir src="${src}/resources"
+           dest="${dist}"
+  />
+

copies the directory ${src}/resources to ${dist}.

+
  <copydir src="${src}/resources"
+           dest="${dist}"
+           includes="**/*.java"
+           excludes="**/Test.java"
+  />
+

copies the directory ${src}/resources to ${dist} +recursively. All java files are copied, except for files with the name Test.java.

+
  <copydir src="${src}/resources"
+           dest="${dist}"
+           includes="**/*.java"
+           excludes="mypackage/test/**"/>
+

copies the directory ${src}/resources to ${dist} +recursively. All java files are copied, except for the files under the mypackage/test +directory.

+ + + + + -- cgit 1.2.3-korg