History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: MPCHANGELOG-38
Type: Bug Bug
Status: Reopened Reopened
Priority: Major Major
Assignee: Unassigned
Reporter: Archimedes Trajano
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Changelog Plugin

changelog does not work with cvsnt

Created: 04/May/04 01:35 PM   Updated: 16/Dec/05 04:44 PM
Component/s: None
Affects Version/s: 1.5
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File output (5 kb)

Environment: CVSNT 2.0.26


 Description  « Hide
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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
dion gillard - 04/May/04 08:17 PM
I use changelog with CVSNT on a daily basis.

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

recently?


Archimedes Trajano - 05/May/04 04:35 AM
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.


Archimedes Trajano - 05/May/04 05:26 AM
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]


dion gillard - 05/May/04 09:49 PM
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.


dion gillard - 05/May/04 09:56 PM
I fixed the documented goals

dion gillard - 05/May/04 09:57 PM
BTW, the changelog plugin does NOT use your installed client to perform CVS operations. So any issues with the CVSNT client are irrelevant

dion gillard - 05/May/04 09:58 PM
Can you run

maven -X maven-changelog-plugin:report

and post the output?


Archimedes Trajano - 06/May/04 04:45 AM
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)


Archimedes Trajano - 06/May/04 06:21 AM
Nix that last one, missed the date stamp.

Archimedes Trajano - 06/May/04 06:30 AM
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


Brett Porter - 28/Mar/05 04:19 PM
this was the result of it not being run from inside a proper checkout

Laird Nelson - 11/Oct/05 11:17 AM
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")?


Lukas Theussl - 16/Dec/05 04:44 PM
See comments at MOJO-78.