bodewig 2003/09/22 08:42:37
Modified: docs/manual/CoreTasks Tag: ANT_16_BRANCH cvs.html
src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
AbstractCvsTask.java
Log:
properly document <cvs>'s dest attribute
Revision Changes Path
No revision
No revision
1.18.2.1 +4 -1 ant/docs/manual/CoreTasks/cvs.html
Index: cvs.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/cvs.html,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -r1.18 -r1.18.2.1
--- cvs.html 2 Sep 2003 14:38:19 -0000 1.18
+++ cvs.html 22 Sep 2003 15:42:37 -0000 1.18.2.1
@@ -54,7 +54,10 @@
</tr>
<tr>
<td valign="top">dest</td>
- <td valign="top">the directory where the checked out files should be
placed.</td>
+ <td valign="top">the directory where the checked out files should
+ be placed. Note that this is different from CVS's -d command line
+ switch as Ant will never shorten pathnames to avoid empty
+ directories.</td>
<td align="center" valign="top">No, default is project's basedir.</td>
</tr>
<tr>
No revision
No revision
1.26.2.1 +4 -0
ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
Index: AbstractCvsTask.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java,v
retrieving revision 1.26
retrieving revision 1.26.2.1
diff -u -r1.26 -r1.26.2.1
--- AbstractCvsTask.java 12 Sep 2003 20:56:46 -0000 1.26
+++ AbstractCvsTask.java 22 Sep 2003 15:42:37 -0000 1.26.2.1
@@ -571,6 +571,10 @@
/**
* The directory where the checked out files should be placed.
*
+ * <p>Note that this is different from CVS's -d command line
+ * switch as Ant will never shorten pathnames to avoid empty
+ * directories.</p>
+ *
* @param dest directory where the checked out files should be placed
*/
public void setDest(File dest) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]