ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: Tomcat BUILD FAILED, error=2
Date Mon, 21 Aug 2006 14:45:43 GMT
This is an ant question please post to ant-users or ant-developers

I would take this a step at a time
what does the command 'which svn' return?

go to shell run 
does it run ok?

run svn via the exec task within ant build.xml 
does ant locate the the svn?

properties files
I would  use the absolute path e.g. /AbsolutePath to find the property file as here
 <property name="deploy.svn.svn-dir"         location="/usr/local/svn-plugins-deploy"/>
This means the /usr/local/svn-plugins-deploy folder MUST EXIST

Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

> Could this be a svn problem? when i tried "svn checkout
> "
> I got the following msg:
> svn: PROPFIND request failed on '/repos/asf/tomcat/current/tc5.5.x'
> svn: PROPFIND of '/repos/asf/tomcat/current/tc5.5.x': could not connect to serve
> r (
> -------end of 'svn checkout'------------
> On 8/19/06, Mark Thomas <> wrote:
>> Martin Gainty wrote:
>> > The message was truncated ..What is the root cause ?
>> error=2 is usually because an executable specified in an exec can not
>> be found. In this case it was svn as was clear from further down the
>> output.
>> <quote>
>> C:\Program Files\Apache Software
>> Foundation\apache-tomcat-5.5.17-src\build.xml:7
>> 0: Execute failed: CreateProcess: svn checkout
>> http://svn.a
>> C:\Program Files\Apache
>> Software Foun
>> dation\apache-tomcat-5.5.17-src error=2
>> </quote>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail:
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:
View raw message