Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running ant with PVCS

 
Tony Evans
Ranch Hand
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try setting
pvcsproject="\Sandbox\"
to
pvcsproject="/Sandbox"
hth
 
Tony Evans
Ranch Hand
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic