problem running PVCS build with anthill OS 1.8.1.303

"Peter Tung" <ptung-U+hLzl9EHURWk0Htik3J/[email protected]> Mon, 23 Oct 2006 12:50:45 -0500
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Hi all,

Some background info: 
   Anthil version : 1.8.1.303
   Ant version : 1.6.5
   Java version : 1.4.2_05
   PVCS (Serena ChangMan) version : 8.1.3
   Running anthill on Tomcat 4.1

I'm running into some issues when running builds after a successful initial
build, wondering if anyone's ran into this before...  What it looks like is
that it can't execute the getRevisionsSince script properly, but I'm kind of
confused as far as where I can find what's wrong to come up with a solution.


Here's the dump from the tomcat screen:
----------------------------------------------------------------------------
----
12:29:50:827 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.P
VCSRepositoryAdapter  - getRevisionsSince script command: cmd /x/c cd /d
"c:\ant
hill\..\zoobuild\JavaServerProgram\Utility" &&
 pcli run -s"c:\anthill\conf\profiles\Win32\win_pvcs\myscript.pcli"
"Z:\zoo\PVCS
Server" "JavaServerProgram/Utility"

12:29:50:842 [Thread - AnthillBuildDaemon] ERROR
com.urbancode.anthill.BuildMana
ger  - PVCSRepositoryAdapter: Error executing: cmd /x/c cd /d
"c:\anthill\..\zoo
build\JavaServerProgram\Utility" &&
 pcli run -s"c:\anthill\conf\profiles\Win32\win_pvcs\myscript.pcli"
"Z:\zoo\PVCS
Server" "JavaServerProgram/Utility"
.  Exit Code: -1
com.urbancode.anthill.adapter.RepositoryException: PVCSRepositoryAdapter:
Error
executing: cmd /x/c cd /d "c:\anthill\..\zoobuild\JavaServerProgram\Utility"
&&
 pcli run -s"c:\anthill\conf\profiles\Win32\win_pvcs\myscript.pcli"
"Z:\zoo\PVCS
Server" "JavaServerProgram/Utility"
.  Exit Code: -1
        at
com.urbancode.anthill.adapter.PVCSRepositoryAdapter.getRevisionsSince
(PVCSRepositoryAdapter.java:261)
        at
com.urbancode.anthill.BuildManager.loadRevisions(BuildManager.java:28
7)
        at com.urbancode.anthill.BuildManager.build(BuildManager.java:215)
        at
com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.ja
va:231)
        at
com.urbancode.anthill.BuildDefinition.run(BuildDefinition.java:158)
        at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
----------------------------------------------------------------------------
----

The error code doesn't really explain much and I'm having trouble finding
more information.  The command shown in the screen seems to run fine in a
separate cmd window.  What I noticed is that with any other command
execution that ran successfully, this shows up on the screen:

----------------------------------------------------------------------------
----
12:29:39:343 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.P
rofileRepositoryAdapter  - Executing Command: pcli put -prZ:\zoo\PVCSServer
-ac:
\anthill\..\zoobuild\JavaServerProgram\Utility\BuildJobs\switchupdate.versio
n -f
 -Y -mCommitted_by_Anthill
/JavaServerProgram/Utility/BuildJobs/switchupdate.ver
sion
12:29:39:358 [Thread - AnthillBuildDaemon] INFO
com.urbancode.anthill.adapter.P
rofileRepositoryAdapter  - Execute:Java13CommandLauncher: Executing 'pcli'
with
arguments:
... (lists the command arguments and execution below)
----------------------------------------------------------------------------
----

But that's not the case with the getRevisionSince script.

Any help is appreciated.  Thanks in advance.

Peter Tung