You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by udi <uk...@hotmail.com> on 2007/07/27 05:43:33 UTC

Subversion and ANT

Hello, 
I am running below script to update the working directory(project) from
Subversion Repository. 

But I am getting below error:- 

D:\Project-trunk>build.bat 
Using Java from C:\j2sdk 
Buildfile: build.xml 

BUILD FAILED 
D:\Project-trunk\build.xml:23: Reference C:\svnant not found. 

Line number 23 is below in the build.xml:- 
<taskdef resource="${svnant}\svnantlib.xml" classpathref="${svnant}"/> 

I didn't found "svnantlib.xml" file in the svnant package which I have
downloaded and installed in the C:\svnant folder :- 

I have donwload svnant package from below link 
http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=7046&expandFolder=7046&folderID=7046 

Script is given below for references:- 
<property name="svnant" value="C:\svnant"/> 
<property name="svnant.jar" value="svnant.jar"/> 
<property name="svnClientAdapter.jar" value="svnClientAdapter.jar"/> 
<property name="svnjavahl.jar" value="svnjavahl.jar"/> 

<path id="ant.task.classpath"> 
<pathelement location="${svnant.jar}"/> 
<pathelement location="${svnClientAdapter.jar}"/> 
<pathelement location="${svnjavahl.jar}"/> 
</path> 

<taskdef resource="${svnant}\svnantlib.xml" classpathref="${svnant}"/> 

<svn> 
<update="${svn.url}" destPath="${svn.destination}" /> 
</svn> 

Where i will get the "svnantlib.xml" file?

Could you please help me to resolve this problem?
-- 
View this message in context: http://www.nabble.com/Subversion-and-ANT-tf4155536.html#a11823289
Sent from the Subversion Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org