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

pvcs task: wrong option (-r) specified by get command (should be -v)

           Summary: pvcs task: wrong option (-r) specified by get command
                    (should be -v)
           Product: Ant
           Version: 1.5.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When the attribute "label" is specified, the option "-r" is added to the 
command get. Notice that the command get defines the option "-v" for this 
purpose. When the label is a "normal" description (e.g. TEST_1) this isn't a 
problem, but sometimes (according to the label itself) when the label begins 
with a number (e.g. 01_01) it doesn't work!

To fix the problem I modified line 265 of Pvcs.java (in package 
org.apache.tools.ant.taskdefs.optional.pvcs).

OLD> commandLine.createArgument().setValue("-r" + getLabel());
NEW> commandLine.createArgument().setValue("-v" + getLabel());

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

Reply via email to