The following comment has been added to this issue:
Author: Sebastian Scholze
Created: Wed, 2 Mar 2005 5:47 PM
Body:
I Had the same problem with "(no author)".
I changed the variable pattern to fix this issue (at least for me)
Here is what I did:
private static final String pattern =
"^r(\\d+)\\s+\\|\\s+" + // revision number
"(\\(\\S+\\s+\\S+\\)|\\S+)\\s+\\|\\s+" + // author username
"(\\d+-\\d+-\\d+ " + // date 2002-08-24
"\\d+:\\d+:\\d+) " + // time 16:01:00
"([\\-+])(\\d\\d)(\\d\\d)"; // gmt offset -0400
The RE is now checking for a username or for a string like "(no author)"
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPCHANGELOG-57?page=comments#action_30426
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPCHANGELOG-57
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPCHANGELOG-57
Summary: SvnChangeLogParser doesn't parse my log files correctly.
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-changelog-plugin
Versions:
1.7.2
Assignee:
Reporter: ai abe
Created: Thu, 3 Feb 2005 8:49 PM
Updated: Wed, 2 Mar 2005 5:47 PM
Environment: WindowsXP, Maven 1.0.2, Subversion 1.1.3, Subclipse 0.9.25,
Eclipse 3.0
Description:
I have parsing-log problems.
The header pattern in SvnChangeLogParser.java doesn't match headers in
Subversion log files in my environment.
A header line is like this.
r6 | (no author) | 2005-02-02 15:30:55 +0900 (${day in Japanese}, 02 2 2005) |
1 line
1. Author fields could be "(no author)".
2. Gmt offset could be "+".
Status remains GET_HEADER and entries have never been added .
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]