|
|
|
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) 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. Just checked http://javacvs.netbeans.org/issues/show_bug.cgi?id=39662
BTW I run the plugin as maven maven-changelog-plugin:report as the documented goals do not work. C:\Project>maven changelog
com.werken.werkz.NoSuchGoalException: No goal [changelog] C:\Projects>maven changelog:generate
com.werken.werkz.NoSuchGoalException: No goal [changelog:generate] 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. BTW, the changelog plugin does NOT use your installed client to perform CVS operations. So any issues with the CVSNT client are irrelevant
Can you run
maven -X maven-changelog-plugin:report and post the output? Found the problem in maven.log
2004-04-21 18:23:13,606 DEBUG org.apache.maven.cvslib.CvsConnection - Could not The problem is... C:\Workspaces\pensions\Curam>dir "C:\Documents and Settings\trajano\.cvspass" Directory of C:\Documents and Settings\trajano 2004-05-06 10:40 AM 282 .cvspass (i.e. the file exists) Nix that last one, missed the date stamp.
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: 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 this was the result of it not being run from inside a proper checkout
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")? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Have you read: http://maven.apache.org/reference/plugins/changelog/index.html
recently?