ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33057] - VSS tasks do not handle CRLF in comments
Date Fri, 03 Jun 2005 20:25:28 GMT
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=33057>.
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=33057





------- Additional Comments From pdibetta@apelon.com  2005-06-03 22:25 -------
Slightly different use case.  Same results as reported in original 
description.  Am using VSS 6.0d.  Have tested on Win XP Pro and Server 2003 
with same results.

1. VSS comment set in a property file (I'm sure that has no bearing.  Only 
stating this to help clarify target example below).

VSS.LABEL.COMMENT=Labels with new line fail/nThis was working using ANT 1.5.4

2. Here's the target.  You may assume other properties have also been set 
correctly from property file(s).

  <target name="vss.label" depends="set.base" description="Initiates the 
VSS 'label' command on the directory represented by VSS.PROJECT.  Will always 
cause a checkin to occur.">
    <vsslabel autoresponse="Y" serverPath="${VSS.INI}" login="build" 
ssdir="${VSS.DIR}" vsspath="${VSS.BASE}${VSS.PROJECT}" 
label="${VERSION}.${BUILD}" comment="${VSS.LABEL.COMMENT}"/>
  </target>

This works as expected in 1.5.4.  Looks like it stopped working in 1.6.0.  New 
line seems to be the culprit (\n).  Other sequences appear to be handled 
without issue (\r, \\, \t).  Only mention that as additional info.  Am only 
actually using the new line (\n) with the comments.

Hope that helps.

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


Mime
View raw message