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/05/21 20:04:33 UTC

DO NOT REPLY [Bug 20128] New: - vssget command label problem

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

vssget command label problem

           Summary: vssget command label problem
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: ghunter@sainc.com


I discovered a problem that occurs when you try to use ant's optional task of 
accessing a VSS database for files when using a label.

The command line built includes the following command -VL-L(label), note for 
the label would normally contain a valid label but this is not the issue, the 
command -VL-L is improper and should have been just -VL.

The MSVSS class has a function called getVersionDateLabel() which seems to 
work properly except that it calls getLabel() to make sure that it does not 
exceed the 30 character limit, this function appends a -L to the front of the 
label in question and the problem occurs.

I would normally just fix this myself but I would like to be able to get 
updates and use newer releases of ant and I dont want to have to keep making 
this fix.

Thanks,
Guy Hunter