[Anthill] build failed due to password to CVS --- where is wrong?

Hu, Sigang SHu at imc.com
Wed Oct 26 10:58:07 CDT 2005


I was successful in building my project and then I set up 2 instances of
Tomcat as windows services and one is for Anthill building.

I got the following error email:

Anthill version 1.8.0.264

 

Retrieving project files: OK

FAILED to build project.  Message: ProfileAdapter prepareForEdit failed: 1
FAILED to get revision list.  Message: cvs log failed.  Exit code: 1

 

And in my tomcat instance log, I see:

'cvs'

'-d'

':pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr'

'edit'

'server\build_version.txt'

 

The ' characters around the executable and arguments are

not part of the command.

 

 

WorkingDir: none

 

11:27:54:890 [Thread - AnthillBuildDaemon] DEBUG
com.urbancode.anthill.adapter.ProfileRepositoryAdapter  - 

 

Environment Variables: none

11:27:54:890 [Thread - AnthillBuildDaemon] DEBUG
org.apache.commons.execute.ProcessThreadRegistry  - Adding a process for
thread: Thread - AnthillBuildDaemon

cvs edit: Empty password used - try 'cvs login' with a real password

 

cvs [edit aborted]: authorization failed: server adenine.imc.com rejected
access to /usr/local/cvs-hfehr for user shu

11:27:55:000 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildManager  - ProfileAdapter prepareForEdit failed:
1

com.urbancode.anthill.adapter.RepositoryException: ProfileAdapter
prepareForEdit failed: 1

            at
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.executeCommand(Profil
eRepositoryAdapter.java:441)

            at
com.urbancode.anthill.adapter.ProfileRepositoryAdapter.prepareFileForEdit(Pr
ofileRepositoryAdapter.java:365)

            at
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.doPreVersionFileModify
(UrbanCodeVersionAdapter.java:252)

            at
com.urbancode.anthill.adapter.UrbanCodeVersionAdapter.setCurrentVersion(Urba
nCodeVersionAdapter.java:175)

            at
com.urbancode.anthill.BuildManager.build(BuildManager.java:138)

            at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)

            at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)

            at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)

11:27:55:000 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.CVSRepositoryAdapter  - Get revisions since
command: cmd /x/c

 

        cd /d C:\Anthill1.8.0\work &&

 

cvs -d :pserver:shu at hfehr.imc.com:/usr/local/cvs-hfehr log -d">2005-10-24
21:56:57 GMT" -rHEAD -N hfehr

 

cvs log: Empty password used - try 'cvs login' with a real password

 

I have followed this instruction when configuring CVS repository adapter - I
run cvs manually both on command line and using WinCvs client. But looks
like the password is not stored. So I can't get authenticated and can't get
revision list. 

"The CVS ROOT used to log in to CVS. Please keep in mind that if you are
using pserver authentication, then the user must log in manually from the
machine running Anthill into the CVS. (Logging in manually will allow the
CVS client to store the CVS password for future use). "

Thanks in Advance.

sigang

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill/attachments/20051026/8651d7ea/attachment-0002.htm


More information about the Anthill mailing list