maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Beland <dcende...@gmail.com>
Subject Re: Changelog returns 0 entries
Date Wed, 03 Aug 2005 09:47:26 GMT
Hi, 


I have the exact same problem, so I kept on using 1.7.2.

But I really want the new functionalities of 1.8.2 (tag or date
types), and since no one answered your post I tried to find the
problem and finally got it after a lot of diff viewing in the
changelog viewcvs.

It seems they changed the code in 1.8.1 to put quotes around the dates
on windows for users using cvsnt.
(http://jira.codehaus.org/browse/MPCHANGELOG-47)

	         if ( System.getProperty( "os.name" ).startsWith( "Windows" ) )
  	         {
  	             cmd = "\"" + cmd + "\"";
  	         }
  	         return "-d " + cmd;


But they never considered users on windows using either cygwin's cvs
or the GNU cvs for DOS.

So as a workaround you can change the os.name java property but I
don`t guarantee that it will not affect the other plugins (maven
-Dos.name=none maven-changelog-plugin:report)

I opened a bug in jira (http://jira.codehaus.org/browse/MPCHANGELOG-69)

Daniel



On 8/2/05, Jan Tanis <jan.tanis@coas.com> wrote:
> Hello,
> 
> I recently started using Maven. I want it to autogenerate reports on our
> repositories. I installend Maven 1.0.2. Brett told me to upgrade the
> changelog plugin, so I did. It does call the CVS server but it will
> alway return 0 entries. When I manual run the log with the following
> command -> C:\coat\workspace\cocos>cvs log -d "2005-07-03<2005-08-03" it
> returns 100dreds of entries.
> Following is a part of the debug output of ->
> C:\coat\workspace\cocos>maven -X maven-changelog-plugin:report
> 
> maven-changelog-plugin:report:
>     [echo] Generating the changelog report
> Executing CVS command: log -d "2005-07-03<2005-08-03"
> ChangeSet between 2005-07-03 and 2005-08-03: 0 entries
> attaining goal build:end
> popping off org.apache.maven.jelly.MavenJellyContext@c3014 for
> org.apache.maven.jelly.MavenJellyContext@289d2e in
> maven-xdoc-plugin:maven-xdoc-plugin
> popping off org.apache.maven.jelly.MavenJellyContext@141fab6 for
> org.apache.maven.jelly.MavenJellyContext@b301f2 in
> maven-pom-plugin:maven-pom-plugin
> popping off org.apache.maven.jelly.MavenJellyContext@2d189c for
> org.apache.maven.jelly.MavenJellyContext@aae86e in
> maven-changelog-plugin:maven-changelog-plugin
> popping off org.apache.maven.jelly.MavenJellyContext@129b0e1 for
> org.apache.maven.jelly.MavenJellyContext@1ba94d in
> maven-artifact-plugin:maven-artifact-plugin
> popping off org.apache.maven.jelly.MavenJellyContext@1ffc686 for
> org.apache.maven.jelly.MavenJellyContext@142bece in cocos:cocos
> BUILD SUCCESSFUL
> Final Memory: 3M/5M
> Total time: 3 seconds
> Finished at: Tue Aug 02 08:45:53 CEST 2005
> 
> --
> Met Vriendelijke Groet/Kindest Regards
> Jan Tanis (mailto:jan.tanis@coas.com)
> COAS The Netherlands
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message