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.
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com