File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Problem running ant with PVCS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Problem running ant with PVCS" Watch "Problem running ant with PVCS" New topic

Problem running ant with PVCS

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 594
When I run my build file I get the following error:
[pvcs] Executing 'pcli' with arguments:
[pvcs] 'lvf'
[pvcs] '-z'
[pvcs] '-aw'
[pvcs] '-spC:\Work\WebConnect\Sandbox\SecondProject\Person'
[pvcs] '-prQ:\WebConnect\archives'
[pvcs] '\Sandbox\'
[pvcs] The ' characters around the executable and arguments are
[pvcs] not part of the command.
[pvcs] PVCS Version Manager (VMGUI) v6.7.00 (Build 894) for Windows NT/80x8
[pvcs] Copyright 1985-2000 MERANT. All rights reserved.
I have no idea what this means.
I am trying to get the files out of the following location :
to the following location :
I have set my task up as follows:
<property name = "PVCSsrc" location="Q:\WebConnect\archives"/>
<property name="src" location="C:\Work\WebConnect\Sandbox\SecondProject\Person"/>
<target name="getFromPVCS">
<!-- Get latest files from PVCS -->
<pvcs repository="${PVCSsrc}" pvcsproject="\Sandbox\" workspace="${src}"/>
I have guessed that repository will be :
Q:\WebConnect\archives\ and that project is the next directory up Sandbox.
Thanks for any help Tony
Kieran Bee

Joined: Jan 30, 2003
Posts: 17
Try setting
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 594
Hi Kieran
Thanks for the reply I am afraid it didnt help.
I am a newby to both ant and PVCS.
I must be setting up the task wrong.
The way I see it from the ant manual I set up the following parameters repository and pvcsproject
My files are stored in :
I would guess that repository means Q:\WebConnect\archives\.
And that pvcsproject refers to the directory Sandbox.
Have I got this right, thanks for again for replying.
Kieran Bee

Joined: Jan 30, 2003
Posts: 17
The repository refers to the driectory where your PVCS 'archives' folder is, so set it up as Q:\WebConnect, and also use the 'Sandbox' param as described above:
<pvcs repository="Q:\WebConnect" pvcsproject="/Sandbox" workspace="${src}"/>

Don't get me started about those stupid light bulbs.
subject: Problem running ant with PVCS
jQuery in Action, 3rd edition