Yan--
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 
svn 
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
> http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x "
> 
> 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 (http://svn.apache.org)
> -------end of 'svn checkout'------------
> 
> 
> On 8/19/06, Mark Thomas <[EMAIL PROTECTED]> 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>
>> BUILD FAILED
>> C:\Program Files\Apache Software
>> Foundation\apache-tomcat-5.5.17-src\build.xml:7
>> 0: Execute failed: java.io.IOException: CreateProcess: svn checkout
>> http://svn.a
>> pache.org/repos/asf/tomcat/current/tc5.5.x C:\Program Files\Apache
>> Software Foun
>> dation\apache-tomcat-5.5.17-src error=2
>> </quote>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to