You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@bost.de> on 2000/06/02 17:26:00 UTC

[PATCH] extended CVS task

Hi,

this is a repost of Wolfgang Werner's <ww...@picturesafe.de> patch
from mid April (thanks Vitaly). It has been edited to minimize the
number of changed lines and to reflect a change that has been commited
since then.

This patch adds quiet and noexec attributes (for the -q and -n
switches) and a command attribute that specifies which CVS command to
execute.

The default command is "checkout" to remain compatible to the existing
task.

cvsroot and package are no longer required attributes as most CVS
commands can and will retrieve the values from the CVS/ dirs in the
destination directory.

One thing I'm still missing here is the MatchingTask functionality to
specify only a set of files to commit/tag etc. I just wanted to wait
whether Exec (Cvs's parent class) becomes a MatchingTask - which would
add the funcionality almost automatically.

Stefan


Re: [PATCH] extended CVS task

Posted by Stefan Bodewig <bo...@bost.de>.
Sorry, I've edited too much I'm afraid. 

The last version didn't work when no CVSROOT was specified. The
complete - now corrected - patch is appended again.

Stefan