wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Unable to execute PVCS task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Unable to execute PVCS task" Watch "Unable to execute PVCS task" New topic
Author

Unable to execute PVCS task

Xyz Abx
Greenhorn

Joined: Jan 30, 2002
Posts: 12
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

Joined: Jan 27, 2003
Posts: 76
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


Thanks,<p>Vijay<p>The Hand that gives, Gathers.
Xyz Abx
Greenhorn

Joined: Jan 30, 2002
Posts: 12
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to execute PVCS task
 
Similar Threads
Pvcs Ant
Problem running ant with PVCS
Ant and PVCS !!!
Ant and PVCS
ANT & PVCS