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 13847] New: - pvcs task: wrong option (-r) specified by get command (should be -v)
Date Tue, 22 Oct 2002 12:27:54 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: chris@antognini.ch


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message