Since you are doing an export to get the package, CVS will not know anything about the files in you local workspace. Try using "rtag" to tag the repository directly. If you must use "tag" you will need to checkout the package first.
-Rob Anderson > -----Original Message----- > From: client [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 09, 2005 11:06 AM > To: dev@ant.apache.org; user@ant.apache.org > Subject: ANT cvs tag error > > Hi, > I am having a problem while executing the cvs tag operation in ant. > > Syntax is as below: > <cvspass cvsroot="${env.CVSROOT}" password="${cvsPassword}"/> > <cvs command="tag -R temp-${build.number}" > cvsRoot="${env.CVSROOT}" package="testRepository" /> > > ERROR is as below: > [cvs] Using cvs passfile: C:\Documents and > Settings\Preetham\.cvspass [cvs] -f server: nothing known > about testRepository [cvs] -f [server aborted]: correct the > above errors first! > > However i am using the same command to get the files cvspass > cvsroot="${env.CVSROOT}" password="${cvsPassword}"/> <cvs > command="export -D tomorrow" cvsRoot="${env.CVSROOT}" > dest="${BUILDDIR}/" package="testRepository" /> > > Any help in this regard would be greatly appreciated. > > Regards > Preetham > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For > additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]