Re: Build failing - can't find SVN?
Varban <[email protected]> Tue, 28 Mar 2006 11:04:23 -0500
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Organization | Urbancode |
| Message-ID | <[email protected]> |
Hi Andy, error=2 is command not found so the global path must not be working for the system account. You might want to check the global path variable for typos and check if the local path variable for your user contains the same path to the svn.exe file or is it only in the global path. The global path should be picked up as soon as you create a new console which should be the case when you restart tomcat but then system accounts are weird sometimes and it is possible that all system account processes run in a child console and thus not picking up the changes. Restart is worth trying. I am not sure that running Anthill under a system account is a good idea and would recommend that you switch to either a local or domain user. This way you can customize the environment for Anthill much easier (without using global variables and settings) and add additional protection for the system. Regards, Varban On Tuesday 28 March 2006 10:06, Andy Levy wrote: > I am (finally) deploying Anthill into our environment and hit a major > snag. I get the following message when I attempt to build my project: > > Retrieving project files: FAILED to build project. Message: > CreateProcess: svn checkout --non-interactive --username anthill > --password password http://server/path e:\anthill\leasegen\hplg1 > error=2 > > Server is Win2K. > > svn.exe is in the global PATH. Tomcat is running as the local system > account. My working directory is created, it's just empty. If I run > the same SVN checkout command at a command prompt (I recognize that > this isn't an exact test, because it's a different user account doing > it), the checkout works perfectly. > > On my desktop, which is WinXP, I've not had this problem. Tomcat is > running as the local system account and svn.exe is in the global PATH > here as well. > > I don't know is whether the W2K box has been rebooted since the PATH > was updated to add the SVN bin directory (I don't see anything in > Event Viewer that indicates it has), but Tomcat has been restarted > many times since. Do I need to reboot the whole box for the local > system account to pick up an addition to the global PATH? > _______________________________________________ > Anthill mailing list > Anthill-IWHQxnLZ/[email protected] > http://lists.urbancode.com/mailman/listinfo/anthill