Hi Vijay, I've only run PVCS on Windows platforms; the pcli.exe I use is a windows executable. If you can run pcli from a Unix command line, I think you should be able to run it from an <exec> task. (The <pvcs> task itself is a wrapper for the pcli executable, so I assume you'd have the same issues there.)
Sorry I can't offer more help than this. Andy Hardacker -----Original Message----- From: vijay.gupta [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:55 AM To: 'Ant Users List' Subject: RE: PVCS Problem Hi Andy, Thanks for the reply. Actually I was looking for help but missed that sentence. Any way It helped me, now I can get the files. But here starts another problem...the exec task does not work on Solaris. Attaching the build file. Please, let me know if there is any problem with my script. Thanks Vijay -----Original Message----- From: Hardacker, Andrew [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 9:58 PM To: 'Ant Users List' Subject: RE: PVCS Problem I have used pvcs, but that's not what you asked. You wanted to know if anyone had a particular problem. I haven't. But I have had other problems with the task, so now I call pcli within an <exec> task, which is much more flexible. <property name="pvcs.bin.dir" value="\\MYSERVER\PVCS\Systems\v6710\VM\win32\bin" /> <!-- other properties should be obvious --> <exec executable="${pvcs.bin.dir}\pcli" failonerror="true"> <arg line="get -o -z -r${pvcs.project.label} -pr${pvcs.project.repository} -id${pvcs.userid} -a${build.dir} /" /> </exec> The main advantage for me is the -a parameter which allows me to set a target directory, ignoring all the pvcs workspace mumbo-jumbo. HTH Andy Hardacker -----Original Message----- From: vijay.gupta [mailto:[EMAIL PROTECTED] Sent: Monday, May 26, 2003 2:47 AM To: 'Ant Users List' Subject: RE: PVCS Problem I guess nobody in this list has ever used pvcs task..... any way thanks -----Original Message----- From: vijay.gupta [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2003 10:29 AM To: 'Ant Users List' Subject: RE: PVCS Problem is somebody there who had this kind of problem ? Thanks Vijay -----Original Message----- From: vijay.gupta [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2003 2:21 PM To: 'Ant Users List' Subject: PVCS Problem Hi, I have this pvcs task: <pvcs repository="${pvcs_repository}" pvcsproject="/com" label="${pvcs_label}" workspace="/@/${pvcs_user}/${pvcs_wrkspc}" linestart="${linestart}"> </pvcs> repository is mapped to v: drive and in build.properties file, property linestart=V: when I run this I get this error; [pvcs] PVCS Version Manager (PCLI) v7.5.0.0 (Build 256) for Windows NT/80x8 6 [pvcs] Copyright 1985-2002 MERANT. All rights reserved. [pvcs] Creating folders [pvcs] Considering ""V:\Archive\gse\com\fedex\cps\api\CpsService.java _v(D:\ build\JUNE2003\com\fedex\cps\api\CpsService.java)" " BUILD FAILED file:D:/build/build.xml:14: Failed executing: pcli lvf -z -aw -sp/@/vgupta/vijay -prV:\pvcs\projdb\PHarvey-db /com. Exception: MessageFormat parse error! at org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs.e xecute(Pvcs.java:29 4) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.tools.ant.Target.execute(Target.java:30 9) at org.apache.tools.ant.Target.performTasks(Target.ja va:336) at org.apache.tools.ant.Project.executeTarget(Project .java:1339) at org.apache.tools.ant.Project.executeTargets(Projec t.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) I have tried V:, V\:, "V:, "V\:, \"V\: options for linestart value. Thanks in advance Vijay -------------------------------------------------- ------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------- ------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------- ------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. -------------------------------------------------- ------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]