Issue Details (XML | Word | Printable)

Key: MPCHANGELOG-57
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: ai abe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Changelog Plugin

SvnChangeLogParser doesn't parse my log files correctly.

Created: 03/Feb/05 08:49 PM   Updated: 03/Jun/05 11:41 PM   Resolved: 03/Jun/05 11:41 PM
Return to search
Component/s: None
Affects Version/s: 1.7.2
Fix Version/s: 1.8.1

Time Tracking:
Not Specified

Environment: WindowsXP, Maven 1.0.2, Subversion 1.1.3, Subclipse 0.9.25, Eclipse 3.0


 Description  « Hide

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 .



Brett Porter added a comment - 03/Mar/05 07:16 PM

(Sebastian Scholze)

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)"


Brett Porter made changes - 18/May/05 02:41 AM
Field Original Value New Value
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 .
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 .
Fix Version/s 1.8 [ 11440 ]
Brett Porter made changes - 03/Jun/05 11:41 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]