source: release-kits/shared/ant-tasks/svnant/doc/svn.html@ 17129

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

a newer version of svnant

File size: 43.1 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3
4<head>
5 <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
6 <TITLE>Svn Task</TITLE>
7 <META HTTP-EQUIV="Content-Language" CONTENT="en-us">
8 <link rel="stylesheet" type="text/css" href="http://tortoisesvn.tigris.org/branding/css/print.css" media="print" />
9<style type="text/css"> /* <![CDATA[ */
10 @import "http://subclipse.tigris.org/branding/css/tigris.css";
11 @import "http://subclipse.tigris.org/branding/css/inst.css";
12 /* ]]> */
13 </style>
14<!--
15<style type="text/css">
16body {
17 font: 80% Verdana, Arial, Helvetica, sans-serif;
18 margin: 12px; padding: 12px;
19/* background: rgb(95%,95%,80%); */
20 color: black;
21}
22h1 {
23 font-size: 200%; text-transform: lowercase; letter-spacing: 3px;
24 margin-bottom: 1em;
25 padding: 0.66em 0 0.33em 1em;
26 background: rgb(85%,85%,70%);
27}
28h2 {
29 background: rgb(85%,85%,70%);
30}
31h3 {
32 border:1px solid rgb(85%,85%,70%);
33 color: rgb(55%,55%,40%);
34 padding: 0.66em 0 0.33em 1em;
35 background-color: #f3f1f4;
36}
37.sample {
38 font-family: Courier, "Courier New", monospace;
39 background-color: #f3f1f4;
40 margin-left: 10px;
41 margin-right: 10px;
42 padding-top: 3px;
43 padding-bottom: 3px;
44 padding-left: 3px;
45 padding-right: 3px;
46 border:1px dashed black;
47 width: 50%;
48 }
49 table {
50 width: 80%;
51 border: 1px solid gray;
52 margin-bottom:1em;
53 }
54 th, td {
55 padding: 0 0.5em;
56 border-left: 1px solid #DDD;
57 border-bottom: 1px solid #DDD;
58 font: 70%
59}
60th {
61
62}
63-->
64</style>
65</head>
66
67<body lang="en-US" dir="LTR">
68
69<div class="h1" id="svn" title="svn">
70<H1>&lt;Svn&gt;</H1>
71By <A HREF="mailto:[email protected]">C&eacute;dric Chabanois et al.</A>
72
73
74<div class="h2" id="Description" title="Description">
75<H2>Description</H2>
76<p>This task provides an interface to <A HREF="http://subversion.tigris.org/">Subversion</A>
77revision control system that is a compelling replacement for CVS in the open source community.
78<br>
79With the help of the underlying svnClientAdapter, &lt;svn&gt; task uses JavaHL (a
80native JNI interface to the subversion api) if it
81can find the corresponding library (e.g. svnjavahl.dll on windows).
82Otherwise it uses svn command line interface.</p>
83</div>
84
85<div class="h2" id="Setup" title="Setup">
86<h2>Setup</h2>
87<p>As with most Ant extensions, SvnAnt's task and type names must be
88<a href="http://ant.apache.org/manual/CoreTasks/typedef.html">mapped
89to their implementing classes</a> before being used in an Ant build
90file. An example of how to use the <em>antlib</em> bundled in
91SvnAnt's JAR file to perform that registration follows:</p>
92
93<div class="sample">
94<span style="font-face: Courier New; font-size: 12">
95<span style="color: #000080">&lt;typedef</span>
96<span style="color: #000080">resource=</span><span style="color: #008000">&quot;org/tigris/subversion/svnant/svnantlib.xml&quot;</span>
97<span style="color: #000080">classpath=</span><span style="color: #008000">&quot;svnant.jar&quot;</span>
98<span style="color: #000080">/&gt;</span>
99</span>
100</div> <!-- sample -->
101</div>
102
103<div class="h2" id="Parameters" title="Parameters">
104<H2>Parameters</H2>
105<table border="1" width="80%"> <tr>
106 <th>Attribute</th>
107 <th>Description</th>
108 <th>Required</th>
109 </tr>
110 <tr>
111 <td>username</td>
112 <td>username that will be used for all nested svn commands.</td>
113 <td>No</td>
114 </tr>
115 <tr>
116 <td>password</td>
117 <td>password that will be used for all nested svn commands.</td>
118 <td>No</td>
119 </tr>
120 <tr>
121 <td>javahl</td>
122 <td>Set to &ldquo;false&rdquo; to use command line client interface instead of JNI JavaHL binding.</td>
123 <td>No (Defaults to true)</td>
124 </tr>
125 <tr>
126 <td>svnkit</td>
127 <td>Set to &ldquo;false&rdquo; to use command line client interface instead of SVNKit binding.</td>
128 <td>No (Defaults to false)</td>
129 </tr>
130 <tr>
131 <td>dateFormatter</td>
132 <td>formatter definition used to format/parse dates (e.g. when revision is specified as date).</td>
133 <td>No (Defaults to "MM/DD/YYYY HH:MM AM_PM")</td>
134 </tr>
135 <tr>
136 <td>dateTimeZone</td>
137 <td>time zone used to format/parse dates (e.g. when revision is specified as date).</td>
138 <td>No (Defaults to local)</td>
139 </tr>
140 <tr>
141 <td>failonerror</td>
142 <td>Controls whether an error stops the build or is merely reported to the screen.</td>
143 <td>No (Defaults to "true")</td>
144 </tr>
145</table>
146</div>
147
148<div class="h2" id="Commands" title="Commands">
149<H2>Svn commands specified as nested elements</H2>
150<table border="1" width="90%">
151 <tr>
152 <td><a href="#add">add </a></td>
153 <td><a href="#createRepository">createRepository</a></td>
154 <td><a href="#import">import</a></td>
155 <td><a href="#move">move</a></td>
156 <td><a href="#revert">revert</a></td>
157 </tr>
158 <tr>
159 <td><a href="#cat">cat</a></td>
160 <td><a href="#delete">delete</a></td>
161 <td><a href="#info">info</a></td>
162 <td><a href="#mkdir">mkdir</a></td>
163 <td><a href="#status">status</a></td>
164 </tr>
165 <tr>
166 <td><a href="#checkout">checkout</a></td>
167 <td><a href="#diff">diff</a></td>
168 <td><a href="#keywordsset">keywordsset</a></td>
169 <td><a href="#propdel">propdel</a></td>
170 <td><a href="#switch">switch</a></td>
171 </tr>
172 <tr>
173 <td><a href="#commit">commit</a></td>
174 <td><a href="#export">export</a></td>
175 <td><a href="#keywordsadd">keywordsadd</a></td>
176 <td><a href="#propget">propget</a></td>
177 <td><a href="#update">update</a></td>
178 </tr>
179 <tr>
180 <td><a href="#copy">copy</a></td>
181 <td><a href="#ignore">ignore</a></td>
182 <td><a href="#keywordsremove">keywordsremove</a></td>
183 <td><a href="#propset">propset</a></td>
184 <td><a href="#wcVersion">wcVersion</a></td>
185 </tr>
186 </table>
187</div>
188
189<![CDATA[=========================================================]]>
190
191<div class="h3" id="add" title="add">
192<H3><a name="add">add</a></H3>
193<p>You can add files and directories to svn repository with nested <CODE>&lt;add&gt;</CODE> elements.</p>
194<table border="1" width="80%"> <tr>
195 <td>Attribute</td>
196 <td>Description</td>
197 <td>Required</td>
198 </tr>
199 <tr>
200 <td>file</td>
201 <td>file to add to the repository</td>
202 <td>No</td>
203 </tr>
204 <tr>
205 <td>dir</td>
206 <td>directory to add to the repository</td>
207 <td>No</td>
208 </tr>
209 <tr>
210 <td>recurse</td>
211 <td>Set to &quot;false&quot; to operate on a single directory only
212 (applies only when <CODE>dir</CODE> attribute is set). Default is
213 &quot;true&quot;
214 </td>
215 <td>No</td>
216 </tr>
217 <tr>
218 <td>force</td>
219 <td>Set to &quot;true&quot; to check the contents of a directory that
220 is already under source control for new directories/files
221 (applies only when <CODE>dir</CODE> attribute is set). Default is
222 &quot;false&quot;
223 </td>
224 <td>No</td>
225 </tr>
226</table>
227<p>Parameters specified as nested elements :
228<ul>
229<li>fileset <br>
230 Filesets are used to select sets of files to add to the repository. <br>
231 <B>Note that directories needed to add selected files will be added to the
232 repository even if they are not selected by the fileset.</B>
233</li>
234</ul>
235</p>
236</div>
237
238<![CDATA[=========================================================]]>
239
240<div class="h3" id="cat" title="cat">
241<H3><a name="cat">cat</a></H3>
242<p>Get the content of a file on repository.</p>
243<table border="1" width="80%"> <tr>
244 <td>Attribute</td>
245 <td>Description</td>
246 <td>Required</td>
247 </tr>
248 <tr>
249 <td>destFile</td>
250 <td>Name of the destination file</td>
251 <td>No <BR>(default is the name of the file on the url placed in the ant project's basedir)</td>
252 </tr>
253 <tr>
254 <td>url</td>
255 <td>Url of the file in repository</td>
256 <td>Yes</td>
257 </tr>
258 <tr>
259 <td>revision</td>
260 <td>revision to get.<BR>Possible values are :<BR>- a date with the
261 format as specified in dateFormatter attribute<BR>- a revision number<BR>-
262 HEAD, BASE, COMMITED or PREV<BR>Default is &quot;HEAD&quot;
263 </td>
264 <td>No</td>
265 </tr>
266</table>
267</div>
268
269<![CDATA[=========================================================]]>
270
271<div class="h3" id="checkout" title="checkout">
272<H3><a name="checkout">checkout</a></H3>
273<p>Check out a working copy from a repository.</p>
274<table border="1" width="80%"> <tr>
275 <td>Attribute</td>
276 <td>Description</td>
277 <td>Required</td>
278 </tr>
279 <tr>
280 <td>url</td>
281 <td>url to checkout from</td>
282 <td>Yes</td>
283 </tr>
284 <tr>
285 <td>recurse</td>
286 <td>Set to &quot;false&quot; to operate on single directory only.
287 Default is &quot;true&quot;
288 </td>
289 <td>No</td>
290 </tr>
291 <tr>
292 <td>destPath</td>
293 <td>destination directory</td>
294 <td>Yes</td>
295 </tr>
296 <tr>
297 <td>revision</td>
298 <td>revision to checkout.<BR>Possible values are :<BR>- a date with
299 the format as specified in dateFormatter attribute<BR>- a revision
300 number<BR>- HEAD, BASE, COMMITED or PREV<BR>Default is &quot;HEAD&quot;
301 </td>
302 <td>No</td>
303 </tr>
304</table>
305</div>
306
307<![CDATA[=========================================================]]>
308
309<div class="h3" id="commit" title="commit">
310<H3><a name="commit">commit</a></H3>
311<p>Send changes from your working copy to the repository.</p>
312<table border="1" width="80%"> <tr>
313 <td>Attribute</td>
314 <td>Description</td>
315 <td>Required</td>
316 </tr>
317 <tr>
318 <td>file</td>
319 <td>file to commit</td>
320 <td>No</td>
321 </tr>
322 <tr>
323 <td>recurse</td>
324 <td>Set to &quot;false&quot; to operate on single directory only.
325 Default is &quot;true&quot;<BR>Apply only when dir attribute is
326 set.
327 </td>
328 <td>No</td>
329 </tr>
330 <tr>
331 <td>dir</td>
332 <td>directory to commit</td>
333 <td>No</td>
334 </tr>
335 <tr>
336 <td>message</td>
337 <td>commit message</td>
338 <td>Yes</td>
339 </tr>
340</table>
341<p>Parameters specified as nested elements :
342<ul>
343 <li>fileset<BR>
344 Filesets are used to select sets of files to commit.
345 </li>
346</ul>
347</p>
348</div>
349
350<![CDATA[=========================================================]]>
351
352<div class="h3" id="copy" title="copy">
353<H3><a name="copy">copy</a></H3>
354<p>Duplicate something in working copy or repository, remembering
355history.<BR>
356source and destination can each be either a working copy (WC) path or URL:
357<ul>
358 <li>WC-&gt;WC: copy and schedule for addition (with history)</li>
359 <li>WC-&gt;URL: immediately commit a copy of WC to URL</li>
360 <li>URL-&gt;WC: check out URL into WC, schedule for addition</li>
361 <li>URL-&gt;URL: complete server-side copy;&nbsp; used to branch &amp; tag</li>
362</ul>
363</p>
364<br/>
365
366<table border="1" width="80%"> <tr>
367 <td>Attribute</td>
368 <td>Description</td>
369 <td>Required</td>
370 </tr>
371 <tr>
372 <td>srcPath</td>
373 <td>source path</td>
374 <TD ROWSPAN=2>One of the two</td>
375 </tr>
376 <tr>
377 <td>srcUrl</td>
378 <td>source url</td>
379 </tr>
380 <tr>
381 <td>testPath</td>
382 <td>destination path</td>
383 <TD ROWSPAN=2>One of the two</td>
384 </tr>
385 <tr>
386 <td>destUrl</td>
387 <td>destination url</td>
388 </tr>
389 <tr>
390 <td>message</td>
391 <td>commit message</td>
392 <td>when destUrl is set</td>
393 </tr>
394 <tr>
395 <td>revision</td>
396 <td>revision to copy from (when srcUrl is set)<BR>Possible values
397 are :<BR>- a date with the format as specified in dateFormatter attribute
398 <BR>- a revision number<BR>- HEAD, BASE, COMMITED or
399 PREV<BR>Default is &quot;HEAD&quot;
400 </td>
401 <td>no</td>
402 </tr>
403</table>
404</div>
405
406<![CDATA[=========================================================]]>
407
408<div class="h3" id="createRepository" title="createRepository">
409<H3><a name="createRepository">createRepository</a></H3>
410<p>Create a new, empty repository at path.</p>
411<table border="1" width="80%"> <tr>
412 <td>Attribute</td>
413 <td>Description</td>
414 <td>Required</td>
415 </tr>
416 <tr>
417 <td>path</td>
418 <td>Path where to create the new repository</td>
419 <td>Yes</td>
420 </tr>
421</table>
422<div class="sample">
423<p>Example: <br>
424<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;svn</FONT>
425<FONT COLOR="#000080">javahl=</FONT><FONT COLOR="#008000">&quot;false&quot;</FONT><FONT COLOR="#000080">&gt;<BR>&lt;createRepository</FONT>
426<FONT COLOR="#000080">path=</FONT><FONT COLOR="#008000">&quot;repository&quot;</FONT><FONT COLOR="#000080">/&gt;<BR>&lt;/svn&gt;</FONT></FONT></FONT>
427</p>
428</div>
429</div>
430
431<![CDATA[=========================================================]]>
432
433<div class="h3" id="delete" title="delete">
434<H3><a name="delete">delete</a></H3>
435<p>If run on a working copy target, the item is scheduled for
436deletion upon the next commit.&nbsp; Files, and directories that have
437not been committed, are immediately removed from the working copy.&nbsp;
438<BR>The command will not remove targets that are, or contain,
439unversioned or modified items; use the force attribute to override
440this behaviour.
441<BR>If run on an url, the item is deleted from the repository via an immediate commit.
442</p>
443<table border="1" width="80%"> <tr>
444 <td>Attribute</td>
445 <td>Description</td>
446 <td>Required</td>
447 </tr>
448 <tr>
449 <td>file</td>
450 <td>file to delete</td>
451 <td>No</td>
452 </tr>
453 <tr>
454 <td>url</td>
455 <td>url to delete</td>
456 <td>No</td>
457 </tr>
458 <tr>
459 <td>dir</td>
460 <td>directory to delete</td>
461 <td>No</td>
462 </tr>
463 <tr>
464 <td>message</td>
465 <td>commit message</td>
466 <td>when url attribute is set</td>
467 </tr>
468 <tr>
469 <td>force</td>
470 <td>default is &quot;false&quot;</td>
471 <td>No</td>
472 </tr>
473</table>
474<p>Parameters specified as nested elements :
475<ul>
476 <li>fileset<BR>
477 Filesets are used to select sets of files to delete..
478 </li>
479</ul>
480</p>
481</div>
482
483<![CDATA[=========================================================]]>
484
485<div class="h3" id="diff" title="diff">
486<H3><a name="diff">diff</a></H3>
487<p>Display the differences between two paths (oldPath and newPath) or
488two urls (oldUrl and newUrl).
489</p>
490<table border="1" width="80%"> <tr>
491 <td>Attribute</td>
492 <td>Description</td>
493 <td>Required</td>
494 </tr>
495 <tr>
496 <td>oldPath</td>
497 <td>If oldUrl is not set, defaults to the path '.'</td>
498 <td>No</td>
499 </tr>
500 <tr>
501 <td>oldUrl</td>
502 <td>&nbsp;</td>
503 <td>No</td>
504 </tr>
505 <tr>
506 <td>oldTargetRevision</td>
507 <td>defaults to BASE or, if oldUrl is set, to HEAD</td>
508 <td>No</td>
509 </tr>
510 <tr>
511 <td>newPath</td>
512 <td>defaults to oldPath if oldUrl is not set</td>
513 <td>No</td>
514 </tr>
515 <tr>
516 <td>newUrl</td>
517 <td>&nbsp;</td>
518 <td>No</td>
519 </tr>
520 <tr>
521 <td>newTargetRevision</td>
522 <td>defaults to the current working version or, if newUrl is set, to HEAD</td>
523 <td>No</td>
524 </tr>
525 <tr>
526 <td>outFile</td>
527 <td>Default is 'patch'</td>
528 <td>No</td>
529 </tr>
530 <tr>
531 <td>recurse</td>
532 <td>Set to &quot;false&quot; to operate on single directory only.
533 Default is &quot;true&quot;
534 </td>
535 <td>No</td>
536 </tr>
537</table>
538<div class="sample">
539<p>Example : diff between BASE and current working version <br>
540<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;svn</FONT>
541<FONT COLOR="#000080">javahl=</FONT><FONT COLOR="#008000">&quot;${javahl}&quot;</FONT><FONT COLOR="#000080">&gt;</FONT></FONT></FONT>
542<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;diff</FONT>
543<FONT COLOR="#000080">oldPath=</FONT><FONT COLOR="#008000">&quot;workingcopy/diffTest/file.txt&quot;</FONT>
544<FONT COLOR="#000080">outFile=</FONT><FONT COLOR="#008000">&quot;workingcopy/diffTest/patch.txt&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT>
545<FONT COLOR="#000080"><FONT FACE="Courier New"><FONT SIZE=2>&lt;/svn&gt;</FONT></FONT></FONT>
546</p>
547</div>
548</div>
549
550<![CDATA[=========================================================]]>
551
552<div class="h3" id="export" title="export">
553<H3><a name="export">export</a></H3>
554<p>
555<ol>
556 <li>
557 Exports a clean directory tree from the repository specified by <CODE>srcurl</CODE>,
558 at revision <CODE>revision</CODE> if it is given, otherwise at HEAD, into <CODE>destPath</CODE>.
559 </li>
560 <li>Exports a clean directory tree from the working copy specified by
561 <CODE>srcPath</CODE> into <CODE>destPath</CODE>.&nbsp; all local changes will be preserved,
562 but files not under revision control will not be copied.
563 </li>
564</ol>
565</p>
566<br/>
567<table border="1" width="80%"> <tr>
568 <td>Attribute</td>
569 <td>Description</td>
570 <td>Required</td>
571 </tr>
572 <tr>
573 <td>srcUrl</td>
574 <td>source url to export from</td>
575 <td>One of the two</td>
576 </tr>
577 <tr>
578 <td>srcPath</td>
579 <td>source path to export from</td>
580 </tr>
581 <tr>
582 <td>destPath</td>
583 <td>destination path</td>
584 <td>Yes</td>
585 </tr>
586 <tr>
587 <td>revision</td>
588 <td>revision of the source url to export from. Defaults is
589 &quot;HEAD&quot;<BR>Possible values are :<BR>- a date with the
590 format as specified in dateFormatter attribute<BR>- a revision number<BR>-
591 HEAD, BASE, COMMITED or PREV
592 </td>
593 <td>No (defaults to HEAD)</td>
594 </tr>
595</table>
596</div>
597
598<![CDATA[=========================================================]]>
599
600<div class="h3" id="ignore" title="ignore">
601<H3><a name="ignore">ignore</a></H3>
602<p>Add a given file or a pattern to the ignored files list (modifies
603svn:ignore property)</p>
604<table border="1" width="80%"> <tr>
605 <td>Attribute</td>
606 <td>Description</td>
607 <td>Required</td>
608 </tr>
609 <tr>
610 <td>file</td>
611 <td>file to ignore</td>
612 <td>One of the two</td>
613 </tr>
614 <tr>
615 <td>dir</td>
616 <td>directory on which we will update svn:ignore property</td>
617 </tr>
618 <tr>
619 <td>pattern</td>
620 <td>pattern to add to svn:ignore on the directory<BR>Only when dir
621 is set
622 </td>
623 <td>Yes</td>
624 </tr>
625 <tr>
626 <td>recurse</td>
627 <td>Set to &quot;true&quot; to add the pattern recursively to
628 directories. Default is &quot;false&quot;<BR>Only when dir is set
629 </td>
630 <td>No</td>
631 </tr>
632</table>
633<div class="sample">
634<p>Example :<BR>
635<FONT SIZE=2><FONT FACE="Courier New"><FONT COLOR="#000080">&lt;ignore</FONT>
636<FONT COLOR="#000080">dir=</FONT><FONT COLOR="#008000">&quot;workingcopy/ignoreTest/dir1&quot;</FONT>
637<FONT COLOR="#000080">pattern=</FONT><FONT COLOR="#008000">&quot;*.ignore&quot;</FONT>
638<FONT COLOR="#000080">recurse=</FONT><FONT COLOR="#008000">&quot;true&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT>
639</p>
640</div>
641</div>
642
643<![CDATA[=========================================================]]>
644
645<div class="h3" id="import" title="import">
646<H3><a name="import">import</a></H3>
647<p>Commit an unversioned file or tree into the repository.<BR>
648Recursively commit a copy of <CODE>path</CODE> to <CODE>url</CODE>.<BR>
649If <CODE>newEntry </CODE>is not set, copy top-level contents of <CODE>path</CODE>into<CODE>url</CODE>directly.&nbsp;
650Otherwise, create <CODE>newEntry </CODE>underneath <CODE>url </CODE>and begin copy there.
651</p>
652<table border="1" width="80%"> <tr>
653 <td>Attribute</td>
654 <td>Description</td>
655 <td>Required</td>
656 </tr>
657 <tr>
658 <td>path</td>
659 <td>source path to export from</td>
660 <td>Yes</td>
661 </tr>
662 <tr>
663 <td>url</td>
664 <td>source url to import to</td>
665 <td>Yes</td>
666 </tr>
667 <tr>
668 <td>newEntry</td>
669 <td>&nbsp;</td>
670 <td>No</td>
671 </tr>
672 <tr>
673 <td>message</td>
674 <td>commit message</td>
675 <td>Yes</td>
676 </tr>
677 <tr>
678 <td>recurse</td>
679 <td>Set to &quot;false&quot; to operate on single directory only.
680 Default is &quot;true&quot;
681 </td>
682 <td>False</td>
683 </tr>
684</table>
685</div>
686
687<![CDATA[=========================================================]]>
688
689<div class="h3" id="info" title="info">
690<h3><a name="info">info</a></h3>
691<p>Gets the information from the repository for a file, directory or url and sets
692the values to ant properties.</p>
693
694<table border="1" width="80%"> <tr>
695 <td>Attribute</td>
696 <td>Description</td>
697 <td>Required</td>
698 </tr>
699 <tr>
700 <td>target</td>
701 <td>Directory or file to gather the information about.</td>
702 <td>Yes</td>
703 </tr>
704 <tr>
705 <td>propPrefix</td>
706 <td>Prefix to use for the properties. Default is &quot;svn.info.&quot;.</td>
707 <td>False</td>
708 </tr>
709 <tr>
710 <td>verbose</td>
711 <td>Turns on verbosity for this task. Default is &quot;false&quot;.</td>
712 <td>False</td>
713 </tr>
714</table>
715
716<p>&nbsp;</p>
717<p>The task sets the following properties (prefix applied accordingly): <br>
718</p>
719
720<table border="1" width="80%"> <tr>
721 <td>Property</td>
722 <td>Description</td>
723 </tr>
724 <tr>
725 <td>path</td>
726 <td>Always</td>
727 </tr>
728 <tr>
729 <td>name</td>
730 <td>For files only</td>
731 </tr>
732 <tr>
733 <td>url</td>
734 <td>Always</td>
735 </tr>
736 <tr>
737 <td>repouuid</td>
738 <td>Always</td>
739 </tr>
740 <tr>
741 <td>rev</td>
742 <td>Always</td>
743 </tr>
744 <tr>
745 <td>nodekind</td>
746 <td>Always</td>
747 </tr>
748 <tr>
749 <td>schedule</td>
750 <td>Always</td>
751 </tr>
752 <tr>
753 <td>author</td>
754 <td>Always</td>
755 </tr>
756 <tr>
757 <td>lastRev</td>
758 <td>Always</td>
759 </tr>
760 <tr>
761 <td>lastDate</td>
762 <td>Always</td>
763 </tr>
764 <tr>
765 <td>lastTextUpdate</td>
766 <td>For files only</td>
767 </tr>
768 <tr>
769 <td>lastPropUpdate</td>
770 <td>For files only</td>
771 </tr>
772 <tr>
773 <td>checksum</td>
774 <td>For files only</td>
775 </tr>
776</table>
777</div>
778
779<![CDATA[=========================================================]]>
780
781<div class="h3" id="keywordsset" title="keywordsset">
782<H3><a name="keywordsset">keywordsset</a></H3>
783<p>Keywordsset controls which keywords will be substituted on the
784given files. Valid keywords are:
785<ul>
786 <li>URL, HeadURL : The URL for the head version of the object.</li>
787 <li>Author, LastChangedBy : The last person to modify the file.</li>
788 <li>Date, LastChangedDate : The date/time the object was last modified.</li>
789 <li>Rev, LastChangedRevision : The last revision the object changed.</li>
790 <li>Id : A compressed summary of the previous</li>
791</ul>
792</p>
793<br/>
794<table border="1" width="80%"> <tr>
795 <td>Attribute</td>
796 <td>Description</td>
797 <td>Required</td>
798 </tr>
799 <tr>
800 <td>file</td>
801 <td>File for which keywords will be substituted</td>
802 <td>Either file, dir or filesets</td>
803 </tr>
804 <tr>
805 <td>dir</td>
806 <td>All files in this directory will have their keywords substituted (recursively)</td>
807 <td>Either file, dir or filesets</td>
808 </tr>
809 <tr>
810 <td>keywords</td>
811 <td>The keywords to substitute on the given files</td>
812 <td>No</td>
813 </tr>
814 <tr>
815 <td>HeadURL/URL<BR>Author, LastChangedBy<BR>Date,
816 LastChangedDate<BR>Rev, LastChangedRevision<BR>Id
817 </td>
818 <td>Set to &ldquo;true&ldquo; the keyword to substitute it on the
819 given file.
820 </td>
821 <td>No</td>
822 </tr>
823</table>
824<p>Parameters specified as nested elements :
825<ul>
826 <li>fileset<BR>
827 Filesets are used to select sets of files on which to apply keywords substitution.
828 </li>
829</ul>
830</p>
831</div>
832
833<![CDATA[=========================================================]]>
834
835<div class="h3" id="keywordsadd" title="keywordsadd">
836<H3><a name="keywordsadd">keywordsadd</a></H3>
837<p>Keywordsadd add some keywords to be substituted on the given
838files. Present keywords are not modified.<BR>
839The attributes are the same than for keywordsset command.</p>
840</div>
841
842<![CDATA[=========================================================]]>
843
844<div class="h3" id="keywordsremove" title="keywordsremove">
845<H3><a name="keywordsremove">keywordsremove</a></H3>
846<p>Keywordsadd remove some keywords to be substituted on the given
847files. Other present keywords are not modified.<BR>
848The attributes are the same than for keywordsset command.</p>
849</div>
850
851<![CDATA[=========================================================]]>
852
853<div class="h3" id="mkdir" title="mkdir">
854<H3><a name="mkdir">mkdir</a></H3>
855<p>Create a new directory under revision control.<BR>
856If target is a working copy path the directory is scheduled for addition in the
857working copy.&nbsp; If target is an url the directory is created in
858the repository via an immediate commit.&nbsp; <BR>
859In both cases all the intermediate directories must already exist.
860</p>
861<table border="1" width="80%"> <tr>
862 <td>Attribute</td>
863 <td>Description</td>
864 <td>Required</td>
865 </tr>
866 <tr>
867 <td>path</td>
868 <td>path to create</td>
869 <td>One of the two</td>
870 </tr>
871 <tr>
872 <td>url</td>
873 <td>url to create</td>
874 </tr>
875 <tr>
876 <td>message</td>
877 <td>commit message</td>
878 <td>Yes</td>
879 </tr>
880</table>
881</div>
882
883<![CDATA[=========================================================]]>
884
885<div class="h3" id="move" title="move">
886<H3><a name="move">move</a></H3>
887<p>Move/rename something in working copy or repository.<BR><BR>&nbsp;
888cource and destination can both be working copy (WC) paths or
889URLs:<BR>&nbsp;&nbsp;&nbsp; WC&nbsp; -&gt; WC:&nbsp;&nbsp; move and
890schedule for addition (with history)<BR>&nbsp;&nbsp;&nbsp; URL -&gt;
891URL:&nbsp; complete server-side rename.
892</p>
893<table border="1" width="80%"> <tr>
894 <td>Attribute</td>
895 <td>Description</td>
896 <td>Required</td>
897 </tr>
898 <tr>
899 <td>srcPath</td>
900 <td>source path</td>
901 <td ROWSPAN=2>One of the two</td>
902 </tr>
903 <tr>
904 <td>srcUrl</td>
905 <td>source url</td>
906 </tr>
907 <tr>
908 <td>destPath</td>
909 <td>destination path</td>
910 <td ROWSPAN=2>One of the two</td>
911 </tr>
912 <tr>
913 <td>destUrl</td>
914 <td>destination url</td>
915 </tr>
916 <tr>
917 <td>message</td>
918 <td>commit message</td>
919 <td>Yes</td>
920 </tr>
921</table>
922</div>
923
924<![CDATA[=========================================================]]>
925
926<div class="h3" id="propdel" title="propdel">
927<H3><a name="propdel">propdel</a></H3>
928<p>Remove a property from files or dirs.</p>
929<table border="1" width="80%"> <tr>
930 <td>Attribute</td>
931 <td>Description</td>
932 <td>Required</td>
933 </tr>
934 <tr>
935 <td>path</td>
936 <td>path of the file or directory on which to delete the property</td>
937 <td>Yes</td>
938 </tr>
939 <tr>
940 <td>name</td>
941 <td>name of the property to delete</td>
942 <td>Yes</td>
943 </tr>
944 <tr>
945 <td>recurse</td>
946 <td>if set, property will be removed recursively</td>
947 <td>No</td>
948 </tr>
949</table>
950</div>
951
952<![CDATA[=========================================================]]>
953
954<div class="h3" id="propget" title="propget">
955<H3><a name="propget">propget</a></H3>
956<p>Get a property from a file or a directory.</p>
957<table border="1" width="80%"> <tr>
958 <td>Attribute</td>
959 <td>Description</td>
960 <td>Required</td>
961 </tr>
962 <tr>
963 <td>path</td>
964 <td>path of the file or directory on which to get the property</td>
965 <td ROWSPAN=2>One of the two</td>
966 </tr>
967 <tr>
968 <td>url</td>
969 <td>url of the file or directory in repository on which to get the property</td>
970 </tr>
971 <tr>
972 <td>name</td>
973 <td>name of the property to get</td>
974 <td>Yes</td>
975 </tr>
976 <tr>
977 <td>property</td>
978 <td>the name of the property to set with the value of the svn property</td>
979 <td ROWSPAN=2>One of the two</td>
980 </tr>
981 <tr>
982 <td>file</td>
983 <td>file that will contain the value of the property</td>
984 </tr>
985</table>
986<div class="sample">
987<p>
988Example :<br>
989<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;propget</FONT>
990<FONT COLOR="#000080">path=</FONT><FONT COLOR="#008000">&quot;workingcopy/propTest/file.png&quot;</FONT>
991<FONT COLOR="#000080">name=</FONT><FONT COLOR="#008000">&quot;svn:mime-type&quot;</FONT>
992<FONT COLOR="#000080">property=</FONT><FONT COLOR="#008000">&quot;propTest.mimeType&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT>
993</p>
994</div>
995</div>
996
997<![CDATA[=========================================================]]>
998
999<div class="h3" id="propset" title="propset">
1000<H3><a name="propset">propset</a></H3>
1001<p>Set a property on files or dirs.</p>
1002<table border="1" width="80%"> <tr>
1003 <td>Attribute</td>
1004 <td>Description</td>
1005 <td>Required</td>
1006 </tr>
1007 <tr>
1008 <td>path</td>
1009 <td>path of the file or directory on which to set the property</td>
1010 <td>Yes</td>
1011 </tr>
1012 <tr>
1013 <td>name</td>
1014 <td>name of the property to set</td>
1015 <td>Yes</td>
1016 </tr>
1017 <tr>
1018 <td>value</td>
1019 <td>the value of the property</td>
1020 <td ROWSPAN=2>One of the two</td>
1021 </tr>
1022 <tr>
1023 <td>file</td>
1024 <td>the file that will be used as a value</td>
1025 </tr>
1026 <tr>
1027 <td>recurse</td>
1028 <td>if set, property will be set recursively</td>
1029 <td>No</td>
1030 </tr>
1031</table>
1032<p>
1033<I>Note:</I>svn recognizes the following special versioned properties but
1034will store any arbitrary properties set:
1035<ul>
1036 <li>svn:ignore : A newline separated list of file patterns to ignore. </li>
1037 <li>svn:keywords : Keywords to be expanded.&nbsp; Valid keywords are:
1038 <ul>
1039 <li>URL, HeadURL : The URL for the head version of the object.</li>
1040 <li>Author, LastChangedBy : The last person to modify the file.</li>
1041 <li>Date, LastChangedDate : The date/time the object was last modified.</li>
1042 <li>Rev, LastChangedRevision : The last revision the object changed.</li>
1043 <li>Id : A compressed summary of the previous 4 keywords. </li>
1044 </ul>
1045 </li>
1046 <li>svn:executable : If present, make the file executable. This property cannot be set on a directory.&nbsp;
1047 A non-recursive attempt will fail, and a recursive attempt will set
1048 the property only on the file children of the directory
1049 </li>
1050 <li>svn:eol-style : One of 'native', 'LF', 'CR', 'CRLF'. </li>
1051 <li>svn:mime-type : The mimetype of the file.&nbsp; Used to determine whether to merge the file, and
1052 how to serve it from Apache. <BR>
1053 A mimetype beginning with 'text/' (or an absent mimetype) is treated as text.&nbsp; Anything else is
1054 treated as binary.
1055 </li>
1056 <li>svn:externals : A newline separated list of module
1057 specifiers, each of which consists of a relative directory path,
1058 optional revision flags, and an URL.&nbsp; For example<BR>
1059 foo http://example.com/repos/zig <br>
1060 foo/bar -r 1234 http://example.com/repos/zag
1061 </li>
1062</ul>
1063</p>
1064</div>
1065
1066<![CDATA[=========================================================]]>
1067
1068<div class="h3" id="revert" title="revert">
1069<H3><a name="revert">revert</a></H3>
1070<p>Restore pristine working copy file (undo most local edits).</p>
1071<table border="1" width="80%"> <tr>
1072 <td>Attribute</td>
1073 <td>Description</td>
1074 <td>Required</td>
1075 </tr>
1076 <tr>
1077 <td>file</td>
1078 <td>file to revert</td>
1079 <td>No</td>
1080 </tr>
1081 <tr>
1082 <td>dir</td>
1083 <td>directory to revert</td>
1084 <td>No</td>
1085 </tr>
1086 <tr>
1087 <td>recurse</td>
1088 <td>Set to &quot;false&quot; to operate on a single directory only
1089 (applies only when <CODE>dir</CODE> attribute is set). Default is
1090 &quot;false&quot;</td>
1091 <td>No</td>
1092 </tr>
1093 <tr>
1094 <td>revision</td>
1095 <td>revision. Defaults is &quot;HEAD&quot;<BR>Possible values are
1096 :<BR>- a date with the format as specified in dateFormatter attribute<BR>-
1097 a revision number<BR>- HEAD, BASE, COMMITED or PREV</td>
1098 <td>No</td>
1099 </tr>
1100</table>
1101<p>Parameters specified as nested elements :
1102<ul>
1103 <li>fileset<BR>
1104 Filesets are used to select sets of files to revert.
1105 </li>
1106</ul>
1107</p>
1108</div>
1109
1110<![CDATA[=========================================================]]>
1111
1112<div class="h3" id="status" title="status">
1113<H3><a name="status">status</a></H3>
1114<p>Get the status of working copy files and directories.</p>
1115<table border="1" width="80%"> <tr>
1116 <td>Attribute</td>
1117 <td>Description</td>
1118 <td>Required</td>
1119 </tr>
1120 <tr>
1121 <td>path</td>
1122 <td>path of the file or directory</td>
1123 <td>Yes</td>
1124 </tr>
1125 <tr>
1126 <td>textStatusProperty</td>
1127 <td>Name of the property to set to the status of the item</td>
1128 <td>No</td>
1129 </tr>
1130 <tr>
1131 <td>propStatusProperty</td>
1132 <td>Name of the property to set to the status of the item
1133 properties</td>
1134 <td>No</td>
1135 </tr>
1136 <tr>
1137 <td>revisionProperty</td>
1138 <td>Name of the property to set to the revision of the item (or &ldquo;&rdquo;
1139 if unversioned)</td>
1140 <td>No</td>
1141 </tr>
1142 <tr>
1143 <td>lastChangedRevisionProperty</td>
1144 <td>Name of the property to set to the last changed revision of the
1145 item (or &ldquo;&rdquo; if unversioned)</td>
1146 <td>No</td>
1147 </tr>
1148 <tr>
1149 <td>lastChangedDateProperty</td>
1150 <td>Name of the property to set to the last changed date of the
1151 item (or &ldquo;&rdquo; if unversioned).
1152 The date is formatted according to task's "dateFormatter"</td>
1153 <td>No</td>
1154 </tr>
1155 <tr>
1156 <td>lastCommitAuthorProperty</td>
1157 <td>Name of the property to set to the last commit author (or &ldquo;&rdquo;
1158 if unversioned)</td>
1159 <td>No</td>
1160 </tr>
1161 <tr>
1162 <td>urlProperty</td>
1163 <td>Name of the property to set to the url of the item</td>
1164 <td>No</td>
1165 </tr>
1166</table>
1167<p>
1168The value of TextStatusProperty can be :
1169<ul>
1170 <li>non-svn</li>
1171 <li>normal : no modifications</li>
1172 <li>added</li>
1173 <li>missing : item is missing (removed by non-svn command)</li>
1174 <li>incomplete</li>
1175 <li>deleted</li>
1176 <li>replaced</li>
1177 <li>modified</li>
1178 <li>merged</li>
1179 <li>conflicted</li>
1180 <li>obstructed</li>
1181 <li>ignored</li>
1182 <li>external</li>
1183 <li>unversioned</li>
1184</ul>
1185The value of propStatusProperty can be :
1186<ul>
1187 <li>normal : no modifications</li>
1188 <li>conflicted</li>
1189 <li>modified</li>
1190</ul>
1191</p>
1192<p></p>
1193<div class="sample">
1194<p>
1195Example : <br>
1196<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;status</FONT>
1197<FONT COLOR="#000080">path=</FONT><FONT COLOR="#008000">&quot;workingcopy/statusTest/added.txt&quot;</FONT>
1198</FONT></FONT>
1199<FONT COLOR="#000080"><FONT FACE="Courier New"><FONT SIZE=2>textStatusProperty=<FONT COLOR="#008000">&quot;testStatus.textStatus&quot;</FONT></FONT></FONT></FONT>
1200<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">propStatusProperty=</FONT><FONT COLOR="#008000">&quot;testStatus.propStatus&quot;</FONT></FONT></FONT>
1201<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">lastChangedRevisionProperty=</FONT><FONT COLOR="#008000">&quot;testStatus.lastCommitRevision&quot;</FONT></FONT></FONT>
1202<FONT COLOR="#000080"><FONT FACE="Courier New"><FONT SIZE=2>revisionProperty=<FONT COLOR="#008000">&quot;testStatus.revision&quot;</FONT></FONT></FONT></FONT>
1203<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">lastCommitAuthorProperty=</FONT><FONT COLOR="#008000">&quot;testStatus.lastCommitAuthor&quot;</FONT></FONT></FONT>
1204</p>
1205</div>
1206</div>
1207
1208<![CDATA[=========================================================]]>
1209
1210<div class="h3" id="switch" title="switch">
1211<H3><a name="switch">switch</a></H3>
1212<p>Update the working copy to mirror a new URL within the repository.
1213This behaviour is similar to 'svn update', and is the way to move a
1214working copy to a branch or tag within the same repository.</p>
1215<table border="1" width="80%"> <tr>
1216 <td>Attribute</td>
1217 <td>Description</td>
1218 <td>Required</td>
1219 </tr>
1220 <tr>
1221 <td>path</td>
1222 <td>The working copy to switch to the given url</td>
1223 <td>Yes</td>
1224 </tr>
1225 <tr>
1226 <td>url</td>
1227 <td>The url to switch to</td>
1228 <td>Yes</td>
1229 </tr>
1230 <tr>
1231 <td>recurse</td>
1232 <td>Set to &quot;false&quot; to operate on a single directory only.
1233 Default is &quot;true&quot;</td>
1234 <td>No</td>
1235 </tr>
1236 <tr>
1237 <td>revision</td>
1238 <td>revision. Defaults is &quot;HEAD&quot;<BR>Possible values are
1239 :<BR>- a date with the format as specified in dateFormatter attribute<BR>-
1240 a revision number<BR>- HEAD, BASE, COMMITED or PREV</td>
1241 <td>No</td>
1242 </tr>
1243</table>
1244<div class="sample" style="width: 602px; height: 43px">
1245<p>
1246Example:
1247<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;svn&gt;</FONT></FONT></FONT>
1248<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;switch</FONT>
1249<FONT COLOR="#000080">path=</FONT><FONT COLOR="#008000">&quot;workingcopy/switchTest&quot;</FONT>
1250<FONT COLOR="#000080">url=</FONT><FONT COLOR="#008000">&quot;${urlRepos}/switchTestBranch&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT>
1251<FONT COLOR="#000080"><FONT FACE="Courier New"><FONT SIZE=2>&lt;/svn&gt;</FONT></FONT></FONT>
1252</p>
1253</div>
1254</div>
1255
1256<![CDATA[=========================================================]]>
1257
1258<div class="h3" id="update" title="update">
1259<H3><a name="update">update</a></H3>
1260<p>Bring changes from the repository into the working copy.<BR>If no
1261revision given, bring working copy up-to-date with HEAD rev.&nbsp;
1262Else synchronize working copy to revision.</p>
1263<table border="1" width="80%"> <tr>
1264 <td>Attribute</td>
1265 <td>Description</td>
1266 <td>Required</td>
1267 </tr>
1268 <tr>
1269 <td>file</td>
1270 <td>file to update</td>
1271 <td>No</td>
1272 </tr>
1273 <tr>
1274 <td>dir</td>
1275 <td>directory to update</td>
1276 <td>No</td>
1277 </tr>
1278 <tr>
1279 <td>recurse</td>
1280 <td>Set to &quot;false&quot; to operate on a single directory only
1281 (applies only when <CODE>dir</CODE> attribute is set). Default is
1282 &quot;true&quot;</td>
1283 <td>No</td>
1284 </tr>
1285 <tr>
1286 <td>revision</td>
1287 <td>revision. Defaults is &quot;HEAD&quot;<BR>Possible values are
1288 :<BR>- a date with the format as specified in dateFormatter attribute<BR>-
1289 a revision number<BR>- HEAD, BASE, COMMITED or PREV</td>
1290 <td>No</td>
1291 </tr>
1292</table>
1293Parameters specified as nested elements :
1294<ul>
1295<li>fileset<BR>
1296Filesets are used to select sets of files to update.
1297</li>
1298</ul>
1299</div>
1300
1301<![CDATA[=========================================================]]>
1302
1303<div class="h3" id="wcVersion" title="wcVersion">
1304<H3><a name="wcVersion">wcVersion</a></H3>
1305<p>Retrieves a state of the working copy. Similar to the svn's utility svnversion, just providing more.<BR>
1306Crawls the working copy and retrieves the maximum revision number, revision range if workingCopy is mixed etc.
1307</p>
1308<table border="1" width="80%"> <tr>
1309 <td>Attribute</td>
1310 <td>Description</td>
1311 <td>Required</td>
1312 </tr>
1313 <tr>
1314 <td>path</td>
1315 <td>a path to the working copy</td>
1316 <td>Yes</td>
1317 </tr>
1318 <tr>
1319 <td>prefix</td>
1320 <td>a string which will be prefixed to output properties set/filled by this command</td>
1321 <td>No</td>
1322 </tr>
1323 <tr>
1324 <td>processUnversioned</td>
1325 <td>flag whether presence of unversioned resoures should be treated as changes</td>
1326 <td>No (defaults to false)</td>
1327 </tr>
1328</table>
1329
1330<p>The command fill set the following properties: (with optional prefix applied)</p>
1331
1332<table border="1" width="80%"> <tr>
1333 <td>Property name</td>
1334 <td>Description</td>
1335 </tr>
1336 <tr>
1337 <td>repository.url</td>
1338 <td>URL of the repository of the working copy root</td>
1339 </tr>
1340 <tr>
1341 <td>repository.path</td>
1342 <td>path in the repository</td>
1343 </tr>
1344 <tr>
1345 <td>revision.max</td>
1346 <td>the highest revision number in the working copy</td>
1347 </tr>
1348 <tr>
1349 <td>revision.max-with-flags</td>
1350 <td>the highest revision number in the working copy plus flags (M - modified, X - mixed)</td>
1351 </tr>
1352 <tr>
1353 <td>revision.range</td>
1354 <td>the revision range (in mixed wc), similar to svnversion format. (e.g. 1000:1010MX)</td>
1355 </tr>
1356 <tr>
1357 <td>committed.max</td>
1358 <td>the highest 'last committed revision'</td>
1359 </tr>
1360 <tr>
1361 <td>committed.max-with-flags</td>
1362 <td>the highest 'last committed revision' plus flags (M, X)</td>
1363 </tr>
1364 <tr>
1365 <td>modified</td>
1366 <td>set to "true" if working copy is modified, property not set otherwise</td>
1367 </tr>
1368 <tr>
1369 <td>mixed</td>
1370 <td>set to "true" if working copy is mixed, property not set otherwise</td>
1371 </tr>
1372</table>
1373<p>
1374An example of the properties that would be set in a sample working copy (with modifications):<br>
1375(with prefix="svn.")
1376<pre>
1377svn.repository.url -> https://server/repos/branches/1.2.x
1378svn.repository.path -> /repos/branches/1.2.x
1379svn.revision.max -> 676
1380svn.revision.max-with-flags -> 676M
1381svn.revision.range -> 676M
1382svn.committed.max -> 651
1383svn.committed.max-with-flags -> 651M
1384svn.modified -> true
1385</pre>
1386Example output in case of mixed and modified working copy:
1387(without prefix set)
1388<pre>
1389repository.url -> https://server/repos/branches/1.2.x
1390repository.path -> /repos/branches/1.2.x
1391revision.max -> 676
1392revision.max-with-flags -> 676MX
1393revision.range -> 673:676M
1394svn.committed.max -> 651
1395svn.committed.max-with-flags -> 651M
1396modified -> true
1397mixed -> true
1398</pre>
1399</p>
1400</div>
1401
1402<![CDATA[=========================================================]]>
1403
1404
1405<div class="h2" id="Examples" title="Examples">
1406<H2>Examples</H2>
1407<p>&nbsp;</p>
1408
1409<div class="sample" style="width: 588px; height: 48px">
1410<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;svn</FONT>
1411<FONT COLOR="#000080">javahl=</FONT><FONT COLOR="#008000">&quot;${javahl}&quot;</FONT><FONT COLOR="#000080">&gt;</FONT></FONT></FONT><br>
1412<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;checkout</FONT>
1413<FONT COLOR="#000080">url=</FONT><FONT COLOR="#008000">&quot;${urlRepos}&quot;</FONT>
1414<FONT COLOR="#000080">destPath=</FONT><FONT COLOR="#008000">&quot;workingcopy&quot;</FONT>
1415<FONT COLOR="#000080">/&gt;</FONT></FONT></FONT><br>
1416<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;/svn&gt;</FONT></FONT></FONT>
1417</div>
1418<p>checkouts a working copy from repository</p>
1419<p>&nbsp;</p>
1420</p>
1421
1422<p>
1423<div class="sample">
1424<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;svn</FONT><FONT COLOR="#000080">&gt;</FONT></FONT></FONT><br>
1425<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;delete&gt;</FONT></FONT></FONT><br>
1426<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;fileset</FONT>
1427<FONT COLOR="#000080">dir=</FONT><FONT COLOR="#008000">&quot;workingcopy/deleteTest&quot;</FONT><FONT COLOR="#000080">&gt;</FONT></FONT></FONT><br>
1428<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;include</FONT>
1429<FONT COLOR="#000080">name=</FONT><FONT COLOR="#008000">&quot;**/*.del&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT>
1430<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;/fileset&gt;</FONT></FONT></FONT><br>
1431<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;/delete&gt;</FONT></FONT></FONT><br>
1432<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;commit</FONT>
1433<FONT COLOR="#000080">message=</FONT><FONT COLOR="#008000">&quot;commit
1434deleted files&quot;</FONT> <FONT COLOR="#000080">dir=</FONT><FONT COLOR="#008000">&quot;workingcopy/deleteTest&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT><br>
1435<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;/svn&gt;</FONT></FONT></FONT>
1436</div>
1437<p>deletes some files from repository (and commit changes)</p>
1438<p>&nbsp;</p>
1439
1440<p>
1441<div class="sample">
1442<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;svn&gt;</FONT></FONT></FONT><br>
1443<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;add</FONT>
1444<FONT COLOR="#000080">dir=</FONT><FONT COLOR="#008000">&quot;workingcopy/propTest&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT><br>
1445<FONT COLOR="#000080"> <FONT FACE="Courier New"><FONT SIZE=2>&lt;commit</FONT>
1446<FONT COLOR="#000080">message=</FONT><FONT COLOR="#008000">&quot;propTest
1447added&quot;</FONT> <FONT COLOR="#000080">dir=</FONT><FONT COLOR="#008000">&quot;workingcopy/propTest&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT><br>
1448 <FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;propset</FONT>
1449<FONT COLOR="#000080">path=</FONT><FONT COLOR="#008000">&quot;workingcopy/propTest/file.png&quot;</FONT>
1450<FONT COLOR="#000080">name=</FONT><FONT COLOR="#008000">&quot;svn:mime-type&quot;</FONT>
1451<FONT COLOR="#000080">value=</FONT><FONT COLOR="#008000">&quot;image/png&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT><br>
1452 <FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;propset</FONT>
1453<FONT COLOR="#000080">path=</FONT><FONT COLOR="#008000">&quot;workingcopy/propTest/file.png&quot;</FONT>
1454<FONT COLOR="#000080">name=</FONT><FONT COLOR="#008000">&quot;myPicture&quot;</FONT>
1455<FONT COLOR="#000080">file=</FONT><FONT COLOR="#008000">&quot;workingcopy/propTest/icon.gif&quot;</FONT><FONT COLOR="#000080">/&gt;</FONT></FONT></FONT><br>
1456<FONT FACE="Courier New"><FONT SIZE=2><FONT COLOR="#000080">&lt;/svn&gt;</FONT></FONT></FONT>
1457</div>
1458<p>add my_repos/propTest to repository and set two properties on file.png <br>
1459subversion command line interface is used (javahl="false").
1460
1461</BODY>
1462</HTML>
Note: See TracBrowser for help on using the repository browser.