RE: problem running PVCS build with anthill OS 1.8.1.303

"Peter Tung" <ptung-U+hLzl9EHURWk0Htik3J/[email protected]> Thu, 26 Oct 2006 14:22:54 -0500
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
I think I may have found the problem in the anthill source code (yes, I was
lazy and didn't want to read it...).

In com.urbancode.anthill.adapter.PVCSRepositoryAdapter, it appears that the
way commands are executed was changed between 1.7 and 1.8 (not sure why?).
While it was modified properly in getWorkingProjectCopy(), it wasn't
modified for label() and getRevisionSince().

I fixed my local copy by adding "exitCode = exe.execute();" after the call
to "exe.setCommandLine();", which appears to have fixed the problem.  I'm
not sure if that's how it should be done though, because it looks like
getWorkingProjectCopy() uses executeCommand() instead of calling
exe.execute() directly.  Maybe label() and getRevisionSince() need to be
modified to use executeCommand() instead?

If someone can forward this info to the AnthillOS dev team that'd be great.
I'm not quite sure how to relay this info to them...


Peter


-----Original Message-----
Message: 4
Date: Thu, 26 Oct 2006 11:27:27 -0500
From: "Peter Tung" <ptung-U+hLzl9EHURWk0Htik3J/[email protected]>
Subject: RE: [Anthill] problem running PVCS build with anthill OS
	1.8.1.303
To: <anthill-IWHQxnLZ/[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain;	charset="us-ascii"

Sorry for the weird reply... somehow I'm not getting the emails other than
the daily digests, probably it's my configuration for the mail.

Anyway, I'm still looking into this issue.  I can run the exact same command
properly without any error in a command-line window, so I don't think it's a
permissions problem although I need to try it some more.

Another thing is, where can I look up the order of execution of commands?
It's not apparent to me why the "GetRevisionSince" calls myscript.pgl when
GetRevisionSince.pgl is supposed to just call "vlog -d"...

--- snippet of output since I removed it from the mail replies ---
11:20:12:686 [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\prof iles\Win32\win_pvcs\myscript.pcli"
"Z:\zoo\PVCSServer" "JavaServerProgram/Utilit y"