You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/10/08 02:18:20 UTC
DO NOT REPLY [Bug 40704] New: - SVN changelog bug on Windows XP
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40704
Summary: SVN changelog bug on Windows XP
Product: Ant
Version: unspecified
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: svn Antlib
AssignedTo: dev@ant.apache.org
ReportedBy: apache-bugzilla@seansullivan.com
I am using Antlib SVN with Windows XP, Ant 1.7.0beta2, and Cygwin svn.exe
svn.exe --version
svn, version 1.3.2 (r19776)
compiled Jul 14 2006, 22:16:08
The <changelog> task does not behave correctly on Windows XP.
Here's what I'm got in my Ant build file:
<svnlib:changelog xmlns:svnlib="svnlib"
svnURL="http://svn.apache.org/repos/asf/ant/core/trunk"
dir="."
destfile="changelog.xml"
daysinpast="14"
/>
When I execute the build file, the verbose output shows:
[svnlib:changelog] log
[svnlib:changelog] Executing 'svn' with arguments:
[svnlib:changelog] '--verbose'
[svnlib:changelog] 'log'
[svnlib:changelog] '--revision'
[svnlib:changelog] '{2006-09-23}:HEAD'
[svnlib:changelog] 'http://svn.apache.org/repos/asf/ant/core/trunk'
[svnlib:changelog]
[svnlib:changelog] The ' characters around the executable and arguments are
[svnlib:changelog] not part of the command.
[svnlib:changelog] svn: Syntax error in revision argument '2006-09-23:HEAD'
Notice the "Syntax error" message.
I did some research on this issue and it appears that the Maven team found a
similar bug on Windows platforms. The Maven team implemented a workaround in
one of the Maven plugins. Here's the Maven workaround:
http://jira.codehaus.org/browse/MPCHANGELOG-55
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 40704] - SVN changelog bug on Windows XP
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40704
------- Additional Comments From peterreilly@apache.org 2006-10-13 07:00 -------
Looks like here is a bug in the cygwin port of svn:
in a bash console window the following works:
svn --verbose log --revision {2006-10-11}:HEAD
http://svn.apache.org/repos/asf/ant/core/trunk
in a cmd console window it fails
svn: Syntax error in revision argument '2006-10-11:HEAD'
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 40704] - SVN changelog bug on Windows XP
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40704
------- Additional Comments From apache-bugzilla@seansullivan.com 2006-10-07 17:19 -------
Created an attachment (id=18978)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=18978&action=view)
Ant build file
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 40704] - SVN changelog bug on Windows XP
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40704
peterreilly@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From peterreilly@apache.org 2006-10-13 15:27 -------
Added a work-around similar to the maven work-around.
Adding quotes around the {date} works as good as
quotes around the full argument (windows cli processing is strange)
the fix works for normal svn as well as cygwin svn.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 40704] - SVN changelog bug on Windows XP
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40704
peterreilly@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From peterreilly@apache.org 2006-10-13 03:55 -------
I have reproduced this, and will investigate.
In the meantime, the non-cygwin version of svn works
fine.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 40704] - SVN changelog bug on Windows XP
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40704>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40704
------- Additional Comments From apache-bugzilla@seansullivan.com 2006-10-07 17:30 -------
The Maven team fixed a similar issue in the Maven source tree:
http://jira.codehaus.org/browse/MPCHANGELOG-55
http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/changelog/src/main/org/apache/maven/svnlib/SvnChangeLogGenerator.java?view=log
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org