Re: Question to cvs task

2007-12-28 Thread David Weintraub
Are you on Windows? On cvsnt, the password is stored inside the Registry. The cvs task can't get to it. I've put the password into the CVSROOT. Since we don't check anything back into CVS from Ant, it's really just a read-only CVSROOT. Take a look at the task in the Ant manual, and you'll see the

Re: Question to cvs task

2007-12-28 Thread Michał Letyński
Thanks for your advice. I wrote separate task which extend AbstractCvsTask. I got one more question about cvs. One thing which is magic for me is how cvs connect to cvs server. Im making only diff but i dont put a server host, login and pass. I assume that this cvs is taking login and server fro

Re: Question to cvs task

2007-12-27 Thread David Weintraub
As you're finding out, that's the way "cvs" outputs that command, and all the CVS ant task does is do a system call to the "cvs" executable. Whatever CVS outputs, Ant does too. There maybe a way of filtering the output of one task with the input of another. I think there is something about resourc

Question to cvs task

2007-12-27 Thread Michał Letyński
I want to diif two branches. Im using this command: command="diff --brief -r rel-1-patches -r rel-2-patches" And my output looks like this: RCS file: /usr/local/cvs/webproject/src/doc/taglibs/file.xml,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff --brief -r1.2 -r1.2.4.1 Files /tmp/cv