• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A Boring ant PVCS question

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have two NT machines
On one machine we have PVCS set up the path is :
Q:\WebConnect\archives\Sandbox\{My two archived files}
On my other machine I have my working directory where I want to get the files out to :
C:\work\WebConnect\SandBox\SecondProject\person.
Here is the latest version of my non working script :
<project name="SecondProject" default="getFromPVCS">
<--I was told that repository address must have double\\-->
<property name = "repository" location="Q:\\WebConnect\\archives\\Sandbox"/>
<property name = "workspace" location="C:\work\WebConnect\SandBox\SecondProject\person"/>
<target name="getFromPVCS">
<!-- Get latest files from PVCS -->
<pvcs repository="${repository}" pvcsproject="/" workspace="${workspace}"/>
</target>
</project>
Error Message is as follows:
getFromPVCS:
[pvcs] class Pvcs : execute() Set Repository: Q:\WebConnect\archives\Sandbox
[pvcs] class Pvcs : execute() Set Pvcsproject: /
[pvcs] Executing 'pcli' with arguments:
[pvcs] 'lvf'
[pvcs] '-z'
[pvcs] '-aw'
[pvcs] '-spC:\work\WebConnect\SandBox\SecondProject\person'
[pvcs] '-prQ:\WebConnect\archives\Sandbox'
[pvcs] '/'
[pvcs]
[pvcs] The ' characters around the executable and arguments are
[pvcs] not part of the command.
All I need to know is, is the script ok, if it is then the problem must be in the mapping from my machine to Q: and although I can use PVCS, there must be a problem with the setup that ant is using.
Cheers and Thanks for any Help Tony
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your workspace and repository info seems to be incorrect.
repository: This is not the actual location of archive files. This is the config information of your pvcs project. This would normally reside under config dir of your pvcs project root. (Files with ext ".cfg" etc). Provide only the path to these files (not actually the files).
workspace: This is a logical name for a physical workspace, created using i-net (browser) interface. Sp first create a workspace and provide it in your script. Normally it looks like "/@/<if you have an id>/<your logical workspace>".
good luck!

Originally posted by Tony Evans:
I have two NT machines
On one machine we have PVCS set up the path is :
Q:\WebConnect\archives\Sandbox\{My two archived files}
On my other machine I have my working directory where I want to get the files out to :
C:\work\WebConnect\SandBox\SecondProject\person.
Here is the latest version of my non working script :
<project name="SecondProject" default="getFromPVCS">
<--I was told that repository address must have double\\-->
<property name = "repository" location="Q:\\WebConnect\\archives\\Sandbox"/>
<property name = "workspace" location="C:\work\WebConnect\SandBox\SecondProject\person"/>
<target name="getFromPVCS">
<!-- Get latest files from PVCS -->
<pvcs repository="${repository}" pvcsproject="/" workspace="${workspace}"/>
</target>
</project>
Error Message is as follows:
getFromPVCS:
[pvcs] class Pvcs : execute() Set Repository: Q:\WebConnect\archives\Sandbox
[pvcs] class Pvcs : execute() Set Pvcsproject: /
[pvcs] Executing 'pcli' with arguments:
[pvcs] 'lvf'
[pvcs] '-z'
[pvcs] '-aw'
[pvcs] '-spC:\work\WebConnect\SandBox\SecondProject\person'
[pvcs] '-prQ:\WebConnect\archives\Sandbox'
[pvcs] '/'
[pvcs]
[pvcs] The ' characters around the executable and arguments are
[pvcs] not part of the command.
All I need to know is, is the script ok, if it is then the problem must be in the mapping from my machine to Q: and although I can use PVCS, there must be a problem with the setup that ant is using.
Cheers and Thanks for any Help Tony

 
There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic