It is probably being created in c:\documents and settings\<user>\.cvspass (because Java is not Cygwin-aware). Move that to your cygwin home.
Alternatively, run Maven with -Duser.home=<cygwin home> when creating the password. - Brett On Sun, 27 Feb 2005 11:16:17 +0000 (UTC), Mahendiran <[EMAIL PROTECTED]> wrote: > J�rg Schaible <Joerg.Schaible <at> Elsag-Solutions.com> writes: > > > > > Hi Derek, > > > > Derek B. Greer wrote on Monday, April 12, 2004 8:16 PM: > > > I just got Maven to access my CVS repository from within > > > Cygwin, but I'm > > > curious as to how others > > > are running Maven from Windows and getting their CVS reports to work. > > > > > > For those who are curious, what I had to do was run Cygwin's "cvs > > > login" which produced a ~/.cvspass file > > > with an entry that looked like so: > > > > > > /1 :pserver:derekg <at> cvs.mycompany.com:2401/var/cvs/fsma [my encrypted > > > password] > > > > > > I then had to copy this file from my Cygwin home to my Windows home > > > directory and edit it to remove the starting /1 and leading space. I > > > also had to > > > specify the port > > > in my project.xml file. Are others using WinCVS to do the > > > cvs login part? > > > > this is my environment at work also. As basic difference I've set my Cygwin > home to my Windows home (mounted > > in binmode). So my .cvspass file is searched from each side at the same > location. Additionally the file is > > in Unix format. I have no problem to use it with either Cygwin's CVS or > > CVSNT, > that came with WinCVS or from > > the CVS client of Eclipse or from JBuilder or from Tortoise CVS (but CVSNT > > and > CVSNT-based products use the > > registry for the login info anyway). However I did not have to change > > anything > in the .cvspass file nor have > > I specified the port in the project.xml. > > > > The only problem I had was from within Eclipse. That client does not like > > it, > if you specify the server > > without its domain. > > > > Regards, > > J�rg > > > > Hi, > > I do face a problem in generating changelog reports using Maven. > I use winnt m/c as client and cvs repository is over ssh in Linux m/c. > i gave "maven changelog:create-cvspass" in cywyn to create password in > ~/.cvspass file and got the following. > > changelog:create-cvspass: > [echo] Setting password for :ext:[EMAIL PROTECTED]:/usr/share/cvs/ > BUILD SUCCESSFUL > > But, there is no entry in the ~/.cvspass file for this user. > > when i try to generate changelog report i get the following. > > maven-changelog-plugin:report: > [echo] Generating the changelog report > SCM Working Directory: d:\mavenuser\mavensample\mavensample > SCM Command Line[0]: cvs > SCM Command Line[1]: -d > SCM Command Line[2]: :ext:[EMAIL PROTECTED]:/usr/share/cvs/ > SCM Command Line[3]: log > SCM Command Line[4]: -d 2005-01-28<2005-02-28 > You have no controlling tty. Cannot read passphrase. > cvs [log aborted]: end of file from server (consult above messages if any) > ChangeLog found: 0 entries > BUILD SUCCESSFUL > Total time: 19 seconds > Finished at: Sun Feb 27 15:57:10 GMT+05:30 2005 > > what could be the problem? I'm able to checkout and do other operations since > it > prompts for password. > > For pserver, .cvspass file is created correctly. > > Thanks. > - Mahen > > --------------------------------------------------------------------- > 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]
