Thanks for your reply Dion.

a) I'm using maven-changelog-plugin-1.7.1 which seems to be the latest. My Maven version is 1.0 final.

b) I am using ext: and not pserver:. I can't do a cvs login because the ext: protocol does not support the login command.

Does the changelog-plugin only support pserver for cvs?

--
Dennis Lundberg

Dion Gillard wrote:
Sounds like:
a) You're using an old version of the changelog plugin, as it no
longer uses the cvs executables.
b) If you are using that old version of the changelog plugin, do a cvs
login and then run it.

On Thu, 15 Jul 2004 11:02:39 +0200, Dennis Lundberg
<[EMAIL PROTECTED]> wrote:

Hi all

I'm trying to get Maven reports of the changes that have been made in
CVS for my products. That would include the following reports;
changelog, changes and file-activity.

I have a CVSNT repository on my local machine and have managed to
produce the above reports using the following connections:

scm|cvs|local|ignore|C:/path/to/repositories|${pom.artifactId}
scm|cvs|pserver|[EMAIL PROTECTED]|C:/path/to/repositories|${pom.artifactId}

Note that I am using the pipe-syntax instead of the colon-syntax because
my path contains a colon-character. Both of these connections requred
that I added an entry to my .cvspass file using this command:
  maven -Dpassword=XXXXXXXX changelog:create-cvspass

So far so good. Now I want to take this the next level. At work we have
a repository that doesn't have pserver - only ext. The server there runs
the "normal"  version of CVS, not CVSNT. I have tried several different
ways to create these reports using that repository. Here is the latest
incarnation for that connection:
scm:cvs:ext:[EMAIL PROTECTED]:/path/to/repositories:${pom.artifactId}

But when I issue this command:
  maven maven-changelog-plugin:report

I get this output:

---Start of output---
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0

build:start:

maven-changelog-plugin:report:
    [echo] Generating the changelog report
SCM Working Directory: G:\cvs\module
SCM Command Line[0]: cvs
SCM Command Line[1]: -d
SCM Command Line[2]: :ext:[EMAIL PROTECTED]:/path/to/repositories
SCM Command Line[3]: log
SCM Command Line[4]: -d 2004-06-15<2004-07-16
---End of output---

Then it just seems to hang there. I don't get the command-line prompt
back and there is no message telling me to enter a password. I have
tried to enter my password anyway without success. If I look at the
processes running I see one ssh2 process and one command-line cvs
process. If I kill the ssh2 process the command-line prompt return, but
of course it then says:

cvs [log aborted]: end of file from server (consult above messages if any)

My environment for command-line CVS and for SSH is set up correctly and
I can do this from the command-line:
  cvs -z3 -d :ext:[EMAIL PROTECTED]:/path/to/repositories co module

It prompts me for my password and then checks out the module.

I have also tried adding an entry in my .cvspass file, using the
technique above and using the Ant cvspass-task. Both ways puts a line in
my .cvspass, but netiher of them enables maven to check out stuff from CVS.

Am I missing something obvious here? Should it be possible to do this
using cvs with an ext/ssh connection?

Any help would be appreciated!

--
Dennis Lundberg

---------------------------------------------------------------------
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