This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to execute PVCS task

 
Xyz Abx
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying get all latest files from PVCS using ANT pvcs task. The following is my task code.
<pvcs repository="E:/PVCSDatabase/MARMS" pvcsproject="/marms" label="ABSIT_BUILD_2"/>
But when i execute above task i am getting following error.
[pvcs] PVCS Version Manager (PCLI) v6.8.10 (Build 193) for Windows NT/80x86
[pvcs] Copyright 1985-2002 MERANT. All rights reserved.
[pvcs] Creating folders
[pvcs] Getting files
[pvcs] PVCS Version Manager (get) v6.8.10 (Build 193) for Windows NT/80x86
[pvcs] Copyright 1985-2002 MERANT. All rights reserved.
[pvcs] get: warning, cannot locate archive for workfile "16:10:24".
[pvcs] get: warning, cannot locate archive for workfile "Feb.02.03".
[pvcs] get: warning, cannot locate archive for workfile "[Error]".
[pvcs] get: warning, cannot locate archive for workfile "You".
[pvcs] get: warning, cannot locate archive for workfile "cannot".
[pvcs] get: warning, cannot locate archive for workfile "access".
[pvcs] get: warning, cannot locate archive for workfile "this".
[pvcs] get: warning, cannot locate archive for workfile "project".
[pvcs] get: warning, cannot locate archive for workfile "because".
[pvcs] get: warning, cannot locate archive for workfile "your".
[pvcs] get: warning, cannot locate archive for workfile "login".
[pvcs] get: warning, cannot locate archive for workfile "account,".
[pvcs] get: warning, cannot locate archive for workfile ",".
[pvcs] get: warning, cannot locate archive for workfile "is".
[pvcs] get: warning, cannot locate archive for workfile "invalid.".
[pvcs] get: warning, cannot locate archive for workfile "Please".
[pvcs] get: warning, cannot locate archive for workfile "try".
[pvcs] get: warning, cannot locate archive for workfile "to".
[pvcs] get: warning, cannot locate archive for workfile "login".
[pvcs] get: warning, cannot locate archive for workfile "again".
[pvcs] get: warning, cannot locate archive for workfile "or".
[pvcs] get: warning, cannot locate archive for workfile "contact".
[pvcs] get: warning, cannot locate archive for workfile "your".
[pvcs] get: warning, cannot locate archive for workfile "PVCS".
[pvcs] get: warning, cannot locate archive for workfile "administrator".
[pvcs] get: warning, cannot locate archive for workfile "for".
[pvcs] get: warning, cannot locate archive for workfile "further".
[pvcs] get: warning, cannot locate archive for workfile "assistance.".
I am using PVCS version 6.8 on Windows NT
Please help me.
Thanks in advance.
Chittaranjan.
 
Vijayakumar Arya
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally taken from ANT Documentation:
Before using this tag, the user running ant must have access to the commands of PVCS (get and pcli) and must have access to the repository. Note that the way to specify the repository is platform dependent so use property to specify location of repository.
This version has been tested agains PVCS version 6.5 and 6.6 under Windows and Solaris.

I haven't used Ant to perform any PVCS task, but when I gone through the documentation I found this, hope this helps.
Ant ->Optional Tasks -> pvcs
---------------
Vijay
 
Xyz Abx
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I able to solve the problem. Since PVCS task does not accept userid/password as parameter you need to set it as environment varibale.
For NT/2000:
SET PCLI_ID=<userid>:<password>
if you omit the password NT password will be the
default password
For UNIX:
PCLI_ID=<userid>:<password>
EXPORT PCLI_ID
..
Chittaranjan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic