Maven 1.x Changelog Plugin

changelog does not work with cvsnt

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.5
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    CVSNT 2.0.26
  • Number of attachments :
    1

Description

C:\Projects\pensions>maven maven-changelog-plugin:report
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0-rc3-SNAPSHOT

build:start:

maven-changelog-plugin:report:
[echo] Generating the changelog report
Server is not supporting gzip-file-contents request
ChangeLog found: 0 entries
BUILD SUCCESSFUL
Total time: 5 seconds
Finished at: Tue May 04 19:27:12 CEST 2004

Activity

Hide
dion gillard added a comment -

I use changelog with CVSNT on a daily basis.

Have you read: http://maven.apache.org/reference/plugins/changelog/index.html

recently?

Show
dion gillard added a comment - I use changelog with CVSNT on a daily basis. Have you read: http://maven.apache.org/reference/plugins/changelog/index.html recently?
Hide
Archimedes Trajano added a comment -

Yup I have read that document which details what you have to do if you are using cvsnt client to connect to a cvs server. This is a different problem though, this is a problem with the CVS server itself. Though I suspect it may be from the cvslib library since it seems to disregard dontUseGZip when it is set on the client and setGZipEnabled(false) on the GlobalOptions. I tried to modify the plugin on my system to see if it was an easy fix.

I have upgraded to the latest versions of CVSNT

Client: Concurrent Versions System (CVSNT) 2.0.41 (client/server)
Server: Concurrent Versions System (CVSNT) 2.0.41 (client/server)

And it still has the same problem.

Also regarding the document, the create-cvspass does not create the password file properly, it only puts in the password with no option to specify the path. I think this cvspass function should be offloaded to a separate plugin called cvs or maybe to scm? I'll be creating another jira bug for this if you think its worth while.

Show
Archimedes Trajano added a comment - Yup I have read that document which details what you have to do if you are using cvsnt client to connect to a cvs server. This is a different problem though, this is a problem with the CVS server itself. Though I suspect it may be from the cvslib library since it seems to disregard dontUseGZip when it is set on the client and setGZipEnabled(false) on the GlobalOptions. I tried to modify the plugin on my system to see if it was an easy fix. I have upgraded to the latest versions of CVSNT Client: Concurrent Versions System (CVSNT) 2.0.41 (client/server) Server: Concurrent Versions System (CVSNT) 2.0.41 (client/server) And it still has the same problem. Also regarding the document, the create-cvspass does not create the password file properly, it only puts in the password with no option to specify the path. I think this cvspass function should be offloaded to a separate plugin called cvs or maybe to scm? I'll be creating another jira bug for this if you think its worth while.
Hide
Archimedes Trajano added a comment -

Just checked http://javacvs.netbeans.org/issues/show_bug.cgi?id=39662 it says its just an informational message, but it does not explain why I do not get any results back from the CVS server for changelog.

BTW I run the plugin as

maven maven-changelog-plugin:report

as the documented goals do not work.

C:\Project>maven changelog
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0-rc3-SNAPSHOT

com.werken.werkz.NoSuchGoalException: No goal [changelog]

C:\Projects>maven changelog:generate
__ __

\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0-rc3-SNAPSHOT

com.werken.werkz.NoSuchGoalException: No goal [changelog:generate]

Show
Archimedes Trajano added a comment - Just checked http://javacvs.netbeans.org/issues/show_bug.cgi?id=39662 it says its just an informational message, but it does not explain why I do not get any results back from the CVS server for changelog. BTW I run the plugin as maven maven-changelog-plugin:report as the documented goals do not work. C:\Project>maven changelog __ __
\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0-rc3-SNAPSHOT
com.werken.werkz.NoSuchGoalException: No goal [changelog] C:\Projects>maven changelog:generate __ __
\/ __ Apache_ ___
  \/ / ` \ V / -) ' \ ~ intelligent projects ~
_   _,_ _/___ _ _ v. 1.0-rc3-SNAPSHOT
com.werken.werkz.NoSuchGoalException: No goal [changelog:generate]
Hide
dion gillard added a comment -

create-cvspass creates the file where the changelog plugin expects it, in ${user.home}. That's the point of it.

If you want to create it somewhere else, use maven.xml and the ant task.

Show
dion gillard added a comment - create-cvspass creates the file where the changelog plugin expects it, in ${user.home}. That's the point of it. If you want to create it somewhere else, use maven.xml and the ant task.
Hide
dion gillard added a comment -

I fixed the documented goals

Show
dion gillard added a comment - I fixed the documented goals
Hide
dion gillard added a comment -

BTW, the changelog plugin does NOT use your installed client to perform CVS operations. So any issues with the CVSNT client are irrelevant

Show
dion gillard added a comment - BTW, the changelog plugin does NOT use your installed client to perform CVS operations. So any issues with the CVSNT client are irrelevant
Hide
dion gillard added a comment -

Can you run

maven -X maven-changelog-plugin:report

and post the output?

Show
dion gillard added a comment - Can you run maven -X maven-changelog-plugin:report and post the output?
Hide
Archimedes Trajano added a comment -

Found the problem in maven.log

2004-04-21 18:23:13,606 DEBUG org.apache.maven.cvslib.CvsConnection - Could not
read password for host: java.io.FileNotFoundException: C:\Documents and Settings
\trajano\.cvspass (The system cannot find the file specified)
2004-04-21 18:23:14,076 INFO org.apache.maven.changelog.ChangeLog -

The problem is...

C:\Workspaces\pensions\Curam>dir "C:\Documents and Settings\trajano\.cvspass"
Volume in drive C has no label.
Volume Serial Number is 9CED-DC1A

Directory of C:\Documents and Settings\trajano

2004-05-06 10:40 AM 282 .cvspass

(i.e. the file exists)

Show
Archimedes Trajano added a comment - Found the problem in maven.log 2004-04-21 18:23:13,606 DEBUG org.apache.maven.cvslib.CvsConnection - Could not read password for host: java.io.FileNotFoundException: C:\Documents and Settings \trajano\.cvspass (The system cannot find the file specified) 2004-04-21 18:23:14,076 INFO org.apache.maven.changelog.ChangeLog - The problem is... C:\Workspaces\pensions\Curam>dir "C:\Documents and Settings\trajano\.cvspass" Volume in drive C has no label. Volume Serial Number is 9CED-DC1A Directory of C:\Documents and Settings\trajano 2004-05-06 10:40 AM 282 .cvspass (i.e. the file exists)
Hide
Archimedes Trajano added a comment -

Nix that last one, missed the date stamp.

Show
Archimedes Trajano added a comment - Nix that last one, missed the date stamp.
Hide
Archimedes Trajano added a comment -

I think I may have found the problem, but I am not 100% sure yet. The difference between this project and my other projects is that this was supposed to be a report only project meaning I didn't check any files out originally, but I wanted to do a list of files that have changed in the repository.

I have added a sysout that displays this

maven-changelog-plugin:report:
[echo] Generating the changelog report
[-d, :pserver:anoncvs@curam.rvponp.fgov.be:d:/cvsroot, log, -d 2004-04-06<2004-0
5-07]

So I can see the command being passed in.

When I ran it with the standard CVSNT client

C:\Projects\pensions>cvs -d :pserver:anoncvs@curam.rvponp.fgov.be:d:/cvsroot log
-d "2004-04-06<2004-05-07"
cvs log: in directory .:
cvs [log aborted]: there is no version here; run 'cvs checkout' first

Show
Archimedes Trajano added a comment - I think I may have found the problem, but I am not 100% sure yet. The difference between this project and my other projects is that this was supposed to be a report only project meaning I didn't check any files out originally, but I wanted to do a list of files that have changed in the repository. I have added a sysout that displays this maven-changelog-plugin:report: [echo] Generating the changelog report [-d, :pserver:anoncvs@curam.rvponp.fgov.be:d:/cvsroot, log, -d 2004-04-06<2004-0 5-07] So I can see the command being passed in. When I ran it with the standard CVSNT client C:\Projects\pensions>cvs -d :pserver:anoncvs@curam.rvponp.fgov.be:d:/cvsroot log -d "2004-04-06<2004-05-07" cvs log: in directory .: cvs [log aborted]: there is no version here; run 'cvs checkout' first
Hide
Brett Porter added a comment -

this was the result of it not being run from inside a proper checkout

Show
Brett Porter added a comment - this was the result of it not being run from inside a proper checkout
Hide
Laird Nelson added a comment -

I am seeing this issue on a proper checkout, having done all my homework.

I am running Maven 1.1b2. The cvs server in this case is cvsnt; the client is obviously the embedded netbeans client.

Running a regular cvs log command from the commandline works fine.

Is there any further information on this closed-but-not-solved bug (the resolution remains "incomplete")?

Show
Laird Nelson added a comment - I am seeing this issue on a proper checkout, having done all my homework. I am running Maven 1.1b2. The cvs server in this case is cvsnt; the client is obviously the embedded netbeans client. Running a regular cvs log command from the commandline works fine. Is there any further information on this closed-but-not-solved bug (the resolution remains "incomplete")?
Hide
Lukas Theussl added a comment -

See comments at MOJO-78.

Show
Lukas Theussl added a comment - See comments at MOJO-78.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated: