Hi Chris, I have removed the tagname attribute from the task, the tag attribute should be used to specify the tag you would like to add. The act-on-tag attribute should correspond to the tag/ branch that you would like to act on. So altogether it looks like this: <cvs-rtag cvsroot="${cvs.root}" usesharpcvslib="false" verbose="false" failonerror="false" act-on-tag="HEAD" tag="v_YourTagHere" module="test"> </cvs-rtag> The changes are in cvs and should show up on the next nightly. Cheers, Clayton
-----Original Message----- From: Chris Fewtrell [mailto:[EMAIL PROTECTED] Sent: Fri 28/01/2005 8:08 AM To: nant-users@lists.sourceforge.net Cc: Subject: [Nant-users] cvs-rtag help Hello I wonder if someone can help me. I want to tag some stuff in CVS using cvs rtag. I can create a tag on the main head branch using the <cvs-rtag> task but I also want to be able to create the tag on a branch. The actual cvs command I want to execute is cvs -d :cvsroot rtag -r BranchName TagName module The cvs-rtag task does not have a sticky-tag attribute. I tried setting the attribute commandline="-r BranchName" but that just produced a cvs command line of cvs -d:cvsroot rtag TagName "-r BranchName" module which does not work. (In fact I am not sure the cvs-rtag task would work if anything was specified in the commandline as the cvs exe will be treating the command line value as a module name.) Using <arg> child elements does not work either as these treat the arguments as options (which go at the start of the cvs command line). And another question: why does the task have two attributes : tag and tagname. Both must be specified or the task will fail but tag seems to be ignored!! I've tried using the <cvs> task but without success. I suppose I can just call the cvs executable using the exec command but I was hoping there was a more straightforward way. Any help greatly appreciated. Thanks Chris Fewtrell ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System - after being sent from Granta Design Ltd ______________________________________________________________________ N¬HS^µéX¬²'²Þu¼×%Hb'µêÚrØy©¢»bè¢Wè^Ê.ÇjÖjÇ ·µçkjk¢Þí±&¯zØy¼¨½êûäû+!êh®Û(Ø^ÁæÄÆ+¶Ú8%ËIÅz×£ åZrrjØm¶ÿà "×+â{(ø(þyMj{n±êì¥x%ËMj{n±êì+-²Ê.Ç¢¸ëa¶Úlÿùb²Û,¢êÜyú+éÞùb²Û?+-wèþv§¶ë®