Hi Jos The Jira issue is already raised for this
http://jira.codehaus.org/browse/MOJO-78 I suggest you post this solution as a comment to the issue. tony > -----Original Message----- > From: Jos Dirksen [mailto:[EMAIL PROTECTED] > Sent: 15 November 2005 10:06 > To: [email protected] > Subject: RE: [m2] Changelog plugin: can't make it work... > > > I've been having the same problem, I've done some debugging, > and on my machine the problem was related to the following > piece of code in the CvsChangeLogGenerator > > protected String getScmDateArgument(Date before, Date to) > { > SimpleDateFormat outputDate = new > SimpleDateFormat("yyyy-MM-dd"); > String cmd = outputDate.format(before) + "<" + > outputDate.format(to); > if ( System.getProperty( "os.name" ).startsWith( "Windows" ) ) > { > cmd = "\"" + cmd + "\""; > } > return "-d " + cmd; > } > > It checks the 'local' system and based on that adds " " > around the date. This was sent to the server where cvs was > running (linux in my > case) and this caused a date parsing problem on the cvs side. > > Commenting out the if statement and removing the space behing > the "-d " part solved it for me. So if you checkout the > latest version from svn and make these changes it should work. > > I haven't looked into who maintains this plugin, so haven't > raised a Jira for this yet, or submitted this as patch. > > Hope this helps. > > Jos > > -------- > >I am having the same problem using changelog against cvs, it finds > >changes but generates a blank report. > > > > Has anybody solved this (or raised a bug) ? > --------- > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 07 October 2005 16:04 > > To: Maven Users List > > Subject: [m2] Changelog plugin: can't make it work... > > > > > > > > > > > > > > Hi, > > > > I'm trying to evaluate the m2 changelog plugin (2.0-beta-1) > work, but > > I run out of ideas to make it work properly... > > > > I'm working on a project that can be built both with m1 and m2. The > > password is stored in the ".cvspass" file in the user home > directory. > > m1 changelog plugin generates a correct report with all the last > > 30-day changes. ("ChangeLog found: 48 entries") m2 changelog plugin > > generates an empty report... ("ChangeSet between 2005-09-07 and > > 2005-10-08: 0 entries") > > > > Here is an excerpt from my pom: > > > > <scm> > > <connection> > > > scm:cvs:pserver:[EMAIL PROTECTED]:/usersdev/cvs00/gdd:MyApp</connection> > > <developerConnection> > > scm:cvs:pserver:[EMAIL PROTECTED]:/usersdev/cvs00/gdd:MyApp > > </developerConnection> > > </scm> > > <reporting> > > <plugins> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > > > <artifactId>changelog-maven-plugin</artifactId> > > <version>2.0-beta-1</version> > > <reportSets> > > <reportSet> > > <id>full-report</id> > > <configuration> > > <type>range</type> > > <range>30</range> > > > > <basedir>${basedir}</basedir> > > </configuration> > > <reports> > > <report>changelog</report> > > > > <report>file-activity</report> > > > > <report>dev-activity</report> > > </reports> > > </reportSet> > > </reportSets> > > </plugin> > > </plugins> > > </reporting> > > > > I've been struggling to make it work, but I give up for now... Any > > idea? > > > > > > Best Regards / Cordialement, > > Fabrice BELLINGARD > > DINQ/DSIN/INSI/EATE/IDVS/AIDV > > (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] > > > > > > > > > > Jason van Zyl > > > > <[EMAIL PROTECTED] > > > > > > > Pour > > 'Maven Users List' > > > > 06/10/2005 21:09 > > <[EMAIL PROTECTED]> > > > > cc > > > > > > Veuillez > > Objet > > répondre à Maven 2.x > > documentation > > Maven Users List > > > > <[EMAIL PROTECTED] > > > > che.org> > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
