RE: problem running PVCS build with anthill OS 1.8.1.303
"Peter Tung" <ptung-U+hLzl9EHURWk0Htik3J/[email protected]> Thu, 26 Oct 2006 11:27:27 -0500
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
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" --- end snippet --- Any ideas/suggestions is most appreciated. Peter --------------------------------------------------------------------- Date: Mon, 23 Oct 2006 14:44:11 -0400 From: Varban <[email protected]> Subject: Re: [Anthill] problem running PVCS build with anthill OS 1.8.1.303 To: Anthill user list <anthill-IWHQxnLZ/[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Peter, the problem is that Anthill is executing the following command: 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" and the command is returning an exit code -1 which is not a success exit code. I do not recall Windows ever returning negative codes (although I could be completely wrong here) and according to the pvcs 8.1.3 manual pcli does not return -1 either (they conveniently go from 0 to -2), which I think it does in this case. I would suggest that you try and execute the above command from command line when you are logged in with the user that is running the servlet container that hosts Anthill. If the command fails then it is some configuration/pvcs issue. If not then it is most likely some user permissions issue. Regards, Varban