[Anthill] CVS driver problem

Eric Minick eric at urbancode.com
Wed May 5 16:46:32 CDT 2004


Tim,

It almost looks like the command is sending the password along from the
commandline but the server is rejecting them. I'm using the same set-up as
you and things are working fine. Heck, my encrypted password matches yours.
I'm going to try and see if there's something odd with the server. I do have
the advantage of running from inside the fire-wall. I also want to chat this
over with Maciej, but he's been on the phone since you emailed.

As for the failed projects, there isn't a way to delete them. You are the
second person in two weeks to request that, so I'm going to chat with Maciej
about that idea as well. I suspect we haven't allowed that because we wanted
to keep a record of everything. Other than looking bad, I don't think there
are any real consequences of having a bunch of failed builds.

I'll try and email you again this afternoon.

Eric

-----Original Message-----
From: anthill-bounces at lists.urbancode.com
[mailto:anthill-bounces at lists.urbancode.com]On Behalf Of Tim Colson
Sent: Wednesday, May 05, 2004 11:49 AM
To: eric at urbancode.com; 'Anthill user list'
Subject: RE: [Anthill] CVS driver problem


>There's an additional AnthillPro list you might want to check out as
Ok, thanks, will do.

> What's happening is AnthillPro is trying to invoke CVS by
> creating a batch file which changes to its working directory
The error mesg seemed to indicate something like that, but when I looked in
the directory, no bat file existed -- presumably because they are removed
after use at the INFO log level.

> You might start by checking to see if you can open open a dos
> window, type "cvs" and have the command run.
Yep. Sure can, that was first on my list. :-)

Just to be safe, I rebooted the server so that the Tomcat would for sure
have the same env vars... seems to have done the trick on CVS... now the
error mesg is different -- login problem.


> While I did test
> using the path this morning, there are fewer variables  without it.
Not to mention that I can't seem to find that cvs screen again...Man, I've
been there twice, but the click-path still isn't obvious. Ah, there it is...
found it again. :-)

> Another thing you might look at is to set the
> logging level to debug (Utility->Logging Management->Edit),
Will do!

Looks like this:

@echo off
cd /d "C:\_apps\AnthillPro\work\cvsrepositorydriver\"
"cvs" -d :pserver:anthill-example at cvs2.urbancode.com:/usr/local/anthill-test
checkout -P Anthill-Example

I just tried those commands and got this:
-------------------
C:\_apps\AnthillPro\work\cvsrepositorydriver>cvs -d
:pserver:anthill-example at cvs2.urbancode.com:/usr/local/anthill-test
checkout -P Anthill-Example
cvs checkout: Empty password used - try 'cvs login' with a real password

cvs [checkout aborted]: authorization failed: server cvs2.urbancode.com
rejected access to /usr/local/anthill-test for u
ser anthill-example

C:\_apps\AnthillPro\work\cvsrepositorydriver>
-------------------

And now that I look at it... the password "anthill-example" does not seem to
be specified in the bat file, and I haven't ever logged into urbancode's cvs
server... so the error makes some sense.

I seem awfully close, but what do I need to tweak?


> Since things have been trickier than they should have been, I
> might also suggest using the Anthill-Example project instead
Okay -- by the way, I read the quickstart, and maybe I missed it... but
there were a few things that threw me and only figured them out after some
reading in the archives (which realllly could use a search feature <hint
hint>)

1) I didn't realize example projects were included... at first, I thought
"Gee, this is a lot of stuff" (okay, maybe that makes me stupid <grin>, but
I didn't find any mention in the quickstart that gave me a clue)

2) Coming from a background using CruiseControl -- it wasn't clear at first
that Anthill takes a "scheduled" approach instead of "fired off by CVS
commits"... and it wasn't painfully clear that I would be able to specify in
the proejct configs my ant build.xml and whatever target I wanted. I'd
suggest creating a short "one paragraph description" to go along with that
snazzy How Anthill Works diagram:
http://www.urbancode.com/projects/anthill/default.jsp --> and put that right
up on the AnthillPro intro page.

Cheers,
Timo

_______________________________________________
Anthill mailing list
Anthill at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.658 / Virus Database: 421 - Release Date: 4/9/2004




More information about the Anthill mailing list