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 2004/10/07 17:43:47 UTC
DO NOT REPLY [Bug 31582] New: -
Documentation : one option of the pvcs optional task missed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31582>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31582
Documentation : one option of the pvcs optional task missed
Summary: Documentation : one option of the pvcs optional task
missed
Product: Ant
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: sebastien.pesme@rtc.ch
The pvcs optional task html documentation describes the options of the pvcs task.
The option 'userId' missed in the description but is included in the
implementation. It can be found a getUserId() method in the class
org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs of the ant-nodeps.jar file.
This need to add a line in the table with the following specifications :
Attribute : userId
Description :
The login of the pvcs user. This can be followed by the password.
userId[:password]
If there is no password, just insert the userId without ':'
(For info : This is the same parameter as '-id' in the command line)
Required : No
Example :
<property name="myUser" value="PvcsUser"/>
<property name="myRepository" value="PvcsRepository"/>
<property name="myWorkspace" value="/@/Public/PublicWorkspace"/>
<property name="myProject" value="PvcsProject"/>
<property name="myLabel" value="PvcsLabel"/>
<property name="myDestinationFolder" value="TheDestinationFolder"/>
<exec executable="pcli">
<arg line="setworklocation -id${myUser} -pr${myRepository} -sp${myWorkspace}
-w${myDestinationFolder} /"/>
</exec>
<pvcs ignorereturncode="true" repository="${myRepository}" userId="${myUser}"
pvcsproject="${myProject}" label="${myLabel}" workspace="${myWorkspace}"/>
This example sets the public workspace with the value of ${myDestinationFolder}
and gets the files from pvcs with the specific repository, user, project, label
and workspace.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org