From 846faeb9f203559d989d0eb2725b97e412a77972 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Mon, 22 Sep 2003 15:41:44 +0000 Subject: [PATCH] properly document 's dest attribute git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275282 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/cvs.html | 5 ++++- src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/manual/CoreTasks/cvs.html b/docs/manual/CoreTasks/cvs.html index 8612f0874..69d1921e9 100644 --- a/docs/manual/CoreTasks/cvs.html +++ b/docs/manual/CoreTasks/cvs.html @@ -54,7 +54,10 @@ from the command line in the target directory in which you are working. dest - the directory where the checked out files should be placed. + 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. No, default is project's basedir. diff --git a/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java b/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java index c03868e33..ecd0745d8 100644 --- a/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java +++ b/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java @@ -571,6 +571,10 @@ public abstract class AbstractCvsTask extends Task { /** * 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.

+ * * @param dest directory where the checked out files should be placed */ public void setDest(File dest) {