ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pothula, Satish Kumar Reddy (Cognizant)" <PSat...@blr.cognizant.com>
Subject Need Help to use workspace in PVCS Task
Date Fri, 04 Apr 2003 04:17:51 GMT
> 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.
> 

Mime
View raw message