From 3f301fd4e5cc514156e43300123f78c1dbd9ab49 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 14 May 2003 11:52:08 +0000 Subject: [PATCH] Remove *encoding attributes from as they are meaningless when we are not filtering in . Add documentation for . git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274571 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/sync.html | 68 +++++++++++++++++++ docs/manual/coretasklist.html | 1 + .../org/apache/tools/ant/taskdefs/Sync.java | 15 ---- 3 files changed, 69 insertions(+), 15 deletions(-) create mode 100644 docs/manual/CoreTasks/sync.html diff --git a/docs/manual/CoreTasks/sync.html b/docs/manual/CoreTasks/sync.html new file mode 100644 index 000000000..7d24a0c1e --- /dev/null +++ b/docs/manual/CoreTasks/sync.html @@ -0,0 +1,68 @@ + + + + +Sync Task + + + + +

Sync

+

Since Ant 1.6

+

Description

+ +

Synchronize a target directory from the files defined in one or +more filesets.

+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
todirthe target directory to sync with the filesetsYes
overwriteOverwrite existing files even if the destination + files are newer.No; defaults to false.
includeEmptyDirsCopy any empty directories included in the FileSet(s). + No; defaults to true.
failonerrorLog a warning message, but do not stop the build, + when one of the nested filesets points to a directory that + doesn't exist. + No; defaults to true.
verboseLog the files that are being copied.No; defaults to false.
+ +

Parameters specified as nested elements

+ +

fileset

+

FileSets are used to select +sets of files and directories.

+ +
+

Copyright © 2003 Apache Software Foundation. All rights +Reserved.

+ + + + diff --git a/docs/manual/coretasklist.html b/docs/manual/coretasklist.html index d17f4f9e5..86e6d064b 100644 --- a/docs/manual/coretasklist.html +++ b/docs/manual/coretasklist.html @@ -76,6 +76,7 @@ Sql
Style
Subant
+Sync
Tar
Taskdef
Tempfile
diff --git a/src/main/org/apache/tools/ant/taskdefs/Sync.java b/src/main/org/apache/tools/ant/taskdefs/Sync.java index 04457b14c..df964a43a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Sync.java +++ b/src/main/org/apache/tools/ant/taskdefs/Sync.java @@ -323,21 +323,6 @@ public class Sync extends Task { _copy.addFileset(set); } - /** - * Sets the character encoding - */ - public void setEncoding(String encoding) { - _copy.setEncoding(encoding); - } - - /** - * Sets the character encoding for output files. - */ - public void setOutputEncoding(String encoding) { - _copy.setOutputEncoding(encoding); - } - - /** * Subclass Copy in order to access it's file/dir maps. */