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 2003/09/02 12:06:13 UTC

DO NOT REPLY [Bug 22877] New: - cvstagdiff support for cvs module aliases

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=22877>.
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=22877

cvstagdiff support for cvs module aliases

           Summary: cvstagdiff support for cvs module aliases
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: patrick.martin@sungard.com


cvstagdiff does not seem to work with cvs module aliases in ant 1.5.3.

If an alias is defined as "mod123 -a mod1 mod2 mod3" in CVSROOT/modules, the 
output of cvstagdiff will truncate the 6 first characters of each file name 
(length of mod123).

For example, if "mod1/file1.txt" should be reported, it will become "ile1.txt".

It seems the problem comes from line 271 of revision 1.6.2.5 of CvsTagDiff.java:
int headerLength = 5 + m_package.length() + 1;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org