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 2002/10/22 14:27:54 UTC
DO NOT REPLY [Bug 13847] New: -
pvcs task: wrong option (-r) specified by get command (should be -v)
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>