DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24282>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24282

CVS tagdiff bug: date string can contain spaces

           Summary: CVS tagdiff bug: date string can contain spaces
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


CVS Tag diff task 'startDate' or 'endDate' attributes can contain spaces
-D parameters of cvs rdiff need to be property quoted:

class org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
line 213:
    public void execute() throws BuildException {
        // validate the input parameters
        validate();

        // build the rdiff command
        String rdiff = "rdiff -s " +
            (m_startTag != null ? ("-r " + m_startTag) : ("-D \"" + m_startDate 
+ "\""))
            + " "
            + (m_endTag != null ? ("-r " + m_endTag) : ("-D \"" + m_endDate 
+ "\""))
            + " " + m_package;
        log("Cvs command is " + rdiff, Project.MSG_VERBOSE);
        setCommand(rdiff);
...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to