aspose file tools
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
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Problem running ant with PVCS" Watch "Problem running ant with PVCS" New topic
Author

Problem running ant with PVCS

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 521
When I run my build file I get the following error:
getFromPVCS:
[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]
[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
6
[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 :
Q:\WebConnect\archives\Sandbox,
to the following location :
C:\Work\WebConnect\Sandbox\SecondProject\Person.
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}"/>
</target>
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
Greenhorn

Joined: Jan 30, 2003
Posts: 17
Try setting
pvcsproject="\Sandbox\"
to
pvcsproject="/Sandbox"
hth
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 521
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 :
Q:\WebConnect\archives\Sandbox\files
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.
Tony
Kieran Bee
Greenhorn

Joined: Jan 30, 2003
Posts: 17
Tony,
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}"/>

hth
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Problem running ant with PVCS
 
Similar Threads
urgent help please (creating jar file using ant)
Pvcs Ant
Error in getting pvcs by promotion group
Cruise Control and PVCS
A Boring ant PVCS question