RE: problem running PVCS build with anthill OS 1.8.1.303
[email protected] Thu, 26 Oct 2006 13:23:51 -0400 (EDT)
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <35972.12.168.77.2.1161883431.squirrel@mail.host54a.simplicato.com> |
If you can run the exact same command manualy without a problem then AnthillPro is running under a different user than you and that user either does not have access to the shared drive or to the file system. Best way to debug that is to stop the servlet container and start it from command line (make sure that the script you are using is not simply starting the service). Now try the command again and it should succeede. The myscript is executed by the pcli command and all it should be doing is call vlog and redirect the output to the console. Regards, Varban > 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 > > _______________________________________________ > Anthill mailing list > Anthill-IWHQxnLZ/[email protected] > http://lists.urbancode.com/mailman/listinfo/anthill >