jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 1.x Changelog Plugin
  • Maven 1.x Changelog Plugin
  • MPCHANGELOG-38

changelog does not work with cvsnt

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.5
  • Fix Version/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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    output
    06/May/04 4:46 AM
    5 kB
    Archimedes Trajano

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
dion gillard added a comment - 04/May/04 8:17 PM

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 - 04/May/04 8:17 PM I use changelog with CVSNT on a daily basis. Have you read: http://maven.apache.org/reference/plugins/changelog/index.html recently?
Hide
Permalink
Archimedes Trajano added a comment - 05/May/04 4: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.

Show
Archimedes Trajano added a comment - 05/May/04 4: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.
Hide
Permalink
Archimedes Trajano added a comment - 05/May/04 5: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]

Show
Archimedes Trajano added a comment - 05/May/04 5: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]
Hide
Permalink
dion gillard added a comment - 05/May/04 9: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.

Show
dion gillard added a comment - 05/May/04 9: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.
Hide
Permalink
dion gillard added a comment - 05/May/04 9:56 PM

I fixed the documented goals

Show
dion gillard added a comment - 05/May/04 9:56 PM I fixed the documented goals
Hide
Permalink
dion gillard added a comment - 05/May/04 9: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

Show
dion gillard added a comment - 05/May/04 9: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
Hide
Permalink
dion gillard added a comment - 05/May/04 9:58 PM

Can you run

maven -X maven-changelog-plugin:report

and post the output?

Show
dion gillard added a comment - 05/May/04 9:58 PM Can you run maven -X maven-changelog-plugin:report and post the output?
Hide
Permalink
Archimedes Trajano added a comment - 06/May/04 4: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)

Show
Archimedes Trajano added a comment - 06/May/04 4: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)
Hide
Permalink
Archimedes Trajano added a comment - 06/May/04 6:21 AM

Nix that last one, missed the date stamp.

Show
Archimedes Trajano added a comment - 06/May/04 6:21 AM Nix that last one, missed the date stamp.
Hide
Permalink
Archimedes Trajano added a comment - 06/May/04 6: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

Show
Archimedes Trajano added a comment - 06/May/04 6: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
Hide
Permalink
Brett Porter added a comment - 28/Mar/05 4:19 PM

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

Show
Brett Porter added a comment - 28/Mar/05 4:19 PM this was the result of it not being run from inside a proper checkout
Hide
Permalink
Laird Nelson added a comment - 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")?

Show
Laird Nelson added a comment - 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")?
Hide
Permalink
Lukas Theussl added a comment - 16/Dec/05 4:44 PM

See comments at MOJO-78.

Show
Lukas Theussl added a comment - 16/Dec/05 4:44 PM See comments at MOJO-78.

People

  • Assignee:
    Unassigned
    Reporter:
    Archimedes Trajano
Vote (1)
Watch (2)

Dates

  • Created:
    04/May/04 1:35 PM
    Updated:
    16/Dec/05 4:44 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.