The following comment has been added to this issue:
Author: Petr Adamek
Created: Tue, 1 Feb 2005 6:04 PM
Body:
I made some experiments on three different computers, one with SuSE 9.1, one
with SuSE 9.2 and one with Fedora Core 3, but plugin behaves the same way. But
I found that the plugin version 1.7.1 works perfectly while the plugin version
1.7.2 contains this bug:
SuSE 9.1: 1.7.1 works, but 1.7.2 does not work
SuSE 9.2: 1.7.1 works, but 1.7.2 does not work
FC 3: 1.7.1 works, but 1.7.2 does not work
I am sure, that the problem lies in the patch that solved
http://jira.codehaus.org/browse/MPCHANGELOG-29
because this patch added problematic quotes.
On Linux, Execute class uses shell script antRun and all parameters are
processed correctly. Therefore no escaping is required and all characters
including quotes are given to executed process.
But on WindowsNT, Execute class uses antRun.bat executed by cmd.exe and
probably does not escape problematic characters like '{' and '}'. I think, that
this is the bug of org.apache.tools.ant.taskdefs.Execute.WinNTCommandLauncher
class.
Summary: Version without quotes works on Linux but does not work on WindowsNT
while version with quotes works on WindowsNT but does not work on Linux.
Ugly workaround can be made by detecting OS type and adding quotes only on
WindowsNT. Better solution is to use corrected version of ant. Unfortunatly I
have no computer with Windows therefore I cannot try to prove any of both
solutions.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPCHANGELOG-55?page=comments#action_29487
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPCHANGELOG-55
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPCHANGELOG-55
Summary: svn doesn not return any log entries due redundant quotation marks
in range
Type: Bug
Status: In Progress
Priority: Critical
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-changelog-plugin
Versions:
1.7.2
1.8
Assignee: Brett Porter
Reporter: Petr Adamek
Created: Sat, 29 Jan 2005 7:45 AM
Updated: Tue, 1 Feb 2005 6:04 PM
Environment: SuSE Linux 9.2, JDK 1.5, svn client version 1.0.0,
Description:
SvnChangeLogGenerator.getScmDateArgument(Date, Date) appends quotation marks
into string with requested date range. This causes that svn interprets
parameter "-r{2005-01-30}:{2004-12-30}" as file name instead of -r parameter
and returns empty log.
---------------------------------------------------------------------
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]