Do a CVS login command at a command prompt.  That will hash a password for
you in the .cvspass file.  After that, you should be able to get by without
having to login for your CVS commands on that repository

Chris Erskine
 
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO  80919
 
Phone: 719-265-5962


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 15, 2004 12:39 PM
> To: Ant Users List
> Subject: Re: How to get ANT + CVS to work in Eclipse?
> 
> (1)
> Well, when I run the "checkout" command alone, I get these errors:
>          [cvs] cvs checkout: warning: failed to open C:\Documents and
> Settings\Administrator\.cvspass for reading: No such file or directory
>          [cvs] cvs checkout: authorization failed: server
> awbcvs.foo.bar.com rejected access to /cvs/cvsroots/awbsystem for user
> pkeyser
>          [cvs] cvs checkout: used empty password; try "cvs login" with a
> real password
> 
> When I then restart and run the "login" command first, the message is:
>          [cvs] Logging in to
> :pserver:[EMAIL PROTECTED]:14306/cvs/cvsroots/awbsystem
> 
> after which the system hangs for ever.
> 
> (2)
> And as to the link you sent, that seems to be about running ANT outside of
> Eclipse. I'm sure I could do that but it wouldn't accomplish what I want.
> 
> (3)
> And for "put the dir with cvs files to ant runtime under Preferences|Ant"
> -- I don't understand what that means -- I can see the preferences page
> you mention, and there are some ant-jar files listed there, but what's the
> directory with the cvs files you refer to? ...
> 
> Paul
> 
> -----Original Message-----
> From: Gilbert Rebhan <[EMAIL PROTECTED]>
> Sent: Dec 15, 2004 1:25 PM
> To: Ant Users List <[EMAIL PROTECTED]>
> Subject: Re: How to get ANT + CVS to work in Eclipse?
> 
> Hi,
> 
> the error message would be helpful.
> 
> here's a post about using ant with cvsnt (cvs port to windows platform,
> even running on unix now):
> 
> http://marc.theaimsgroup.com/?l=ant-user&m=107052931011992&w=2
> 
> cvs works similar, put it on %PATH% ...
> 
> When using cvs commands with ant out of eclipse you have to put
> the dir with cvs files to ant runtime under Preferences|Ant
> 
> Gilbert
> 
> [EMAIL PROTECTED] wrote:
> > (First time trying to "post" -- hope this works)
> >
> > I am using Eclipse 2.1.3 (or 3.0.1) and would like to write an ANT-
> script, to be run from within Eclipse, that would check out some list of
> projects, but when I try to run the cvs-task, it crashes because I have
> not logged in; when I try to log in, it hangs because there is no log-in
> console (or something).  So how do I do it? I append my attempt at a
> script, with the non-functional stuff commented out ...
> >
> > thanks,
> > Paul
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to