Workspace needs to be a name as defined by PVCS, not a filesystem location. For example /@/Public/Dev. PVCS will use the workfile location set for the workspace for the files. This should probably go to the ant-users list, though. s
-----Original Message----- From: Pothula, Satish Kumar Reddy (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 8:18 PM To: [EMAIL PROTECTED] Subject: Need Help to use workspace in PVCS Task Hi, I am working on to automate the build process for our application using ANT Tool. We are using PVCS as version control for the source code. I am using 'pvcs' task in build.xml to download the source code from PVCS. I am able to download the source with no issues. I have to change the workfile location using the 'workspace' in PVCS Task. I need help on how to set the workspace in ant xml. I am working on windows NT. Below is the xml that i have defined. <pvcs repository="C:\Program Files\PVCS\VM\newdb" pvcsproject="/TempProject" workspace="E:\tmp"/> ------------------------------------------------------------------------ ----- I am the getting the following error ------------------------------------------------------------------------ ------- getlatest: [pvcs] Executing 'pcli' with arguments: [pvcs] 'lvf' [pvcs] '-z' [pvcs] '-aw' [pvcs] '-spE:\tmp' [pvcs] '-prC:\Program Files\PVCS\VM\newdb' [pvcs] '/TempProject' [pvcs] [pvcs] The ' characters around the executable and arguments are [pvcs] not part of the command. [pvcs] PVCS Version Manager (VMGUI) v6.8.00 (Build 128) for Windows NT/80x8 6 [pvcs] Copyright 1985-2001 MERANT. All rights reserved. BUILD FAILED Failed executing: pcli lvf -z -aw -spE:\tmp "-prC:\Program Files\PVCS\VM\newdb" "/TempProject" at org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.execute(Pvcs.java:23 3) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1339) at org.apache.tools.ant.Project.executeTargets(Project.java:1255) at org.apache.tools.ant.Main.runBuild(Main.java:609) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) ------------------------------------------------------------------------ --------------------------------------------------------- Did i miss anything in defining the XML. Any Inputs on this is greatly appreciated Thanks, -Satish.