source: release-kits/lirk3/bin/ant-installer/web/manual1.6.2/manual/CoreTasks/sync.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 1.9 KB
Line 
1<html>
2
3<head>
4<meta http-equiv="Content-Language" content="en-us">
5<title>Sync Task</title>
6<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
7</head>
8
9<body>
10
11<h2><a name="get">Sync</a></h2>
12<p><em>Since Ant 1.6</em></p>
13<h3>Description</h3>
14
15<p>Synchronize a target directory from the files defined in one or
16more filesets.</p>
17
18<h3>Parameters</h3>
19<table border="1" cellpadding="2" cellspacing="0">
20 <tr>
21 <td valign="top"><b>Attribute</b></td>
22 <td valign="top"><b>Description</b></td>
23 <td align="center" valign="top"><b>Required</b></td>
24 </tr>
25 <tr>
26 <td valign="top">todir</td>
27 <td valign="top">the target directory to sync with the filesets</td>
28 <td align="center" valign="top">Yes</td>
29 </tr>
30 <tr>
31 <td valign="top">overwrite</td>
32 <td valign="top">Overwrite existing files even if the destination
33 files are newer.</td>
34 <td valign="top" align="center">No; defaults to false.</td>
35 </tr>
36 <tr>
37 <td valign="top">includeEmptyDirs</td>
38 <td valign="top">Copy any empty directories included in the FileSet(s).
39 </td>
40 <td valign="top" align="center">No; defaults to true.</td>
41 </tr>
42 <tr>
43 <td valign="top">failonerror</td>
44 <td valign="top">Log a warning message, but do not stop the build,
45 when one of the nested filesets points to a directory that
46 doesn't exist.
47 </td>
48 <td valign="top" align="center">No; defaults to true.</td>
49 </tr>
50 <tr>
51 <td valign="top">verbose</td>
52 <td valign="top">Log the files that are being copied.</td>
53 <td valign="top" align="center">No; defaults to false.</td>
54 </tr>
55</table>
56
57<h3>Parameters specified as nested elements</h3>
58
59<h4>fileset</h4>
60<p><a href="../CoreTypes/fileset.html">FileSet</a>s are used to select
61sets of files and directories.</p>
62
63<hr>
64<p align="center">Copyright &copy; 2003-2004 The Apache Software Foundation. All rights
65Reserved.</p>
66
67</body>
68</html>
69
Note: See TracBrowser for help on using the repository browser.