Additionally, when I try to run the exact same build.xml file in a Cygwin window I get an authorization failed error. The exact text is:
authorization failed: server cvs.mycompany.com rejected access to /cvs for user rsherwin
... Has anyone been able to successfully checkout or even perform a diff on code in CVS from the latest version of Ant? I mean, this is the code I'm using in my build.xml file and if it's wrong I'm at a loss to guess what it could be:
Important: This task needs "cvs" on the path. If it isn't, you will get an error (such as error 2 on windows). If <cvs> doesn't work, try to execute cvs.exe from the command line in the target directory in which you are working.
I don't have access to cvs tonight and I usually do cvs diff on the command line or use the compare feature in eclipse, so I don't have any advice on that issue beyond what the cvs task documentation describes. [ July 20, 2005: Message edited by: Carol Enderlin ]
Joined: Apr 12, 2005
Thanks, Carol. I'll check that out in order to get Eclipse integrated correctly.
As an aside, I went into Cygwin to use Ant and CVS that way and eventually learned that the .cvspass file I was using had a newline at the end of it. That screwed up the password descrambling. Once I eliminated it I no longer got any 'authorization failed' messages.