You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Rajesh Kumar (IN4774)" <ra...@mindtree.com> on 2009/05/13 09:24:51 UTC

taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

I got following error in when I execute one target in ant...

file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

I have following files added in path

ganymed.jar
svnClientAdapter.jar
svnant.jar
svnjavahl.jar

Any Solution

________________________________
http://www.mindtree.com/email/disclaimer.html

Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

Posted by SimpleSolution <al...@gmail.com>.
If your running the build.xml from eclipse, here are two possible solutions:

1: rightClick on build.xml->classpath tab (Here you add each svnant jar
explicitly)-> Add External Jar(add all svnant jars)->Run
2: rightClick on build.xml->Environment->Select button->Then select the env
variable explicitly->OK->Run

Hope this is helpful guys 

--
View this message in context: http://ant.1045680.n5.nabble.com/taskdef-class-org-tigris-subversion-svnant-SvnTask-cannot-be-found-tp1354816p5662347.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

Posted by Brian Pontarelli <br...@pontarelli.com>.
Not sure. I'd open up the JAR files and see if the class is in there.  
If not, find the JAR it is in. If they are in there, then they aren't  
being loaded in the Ant runtime. Could be a permission issue on the  
file system.

-bp


On May 13, 2009, at 10:47 PM, Rajesh Kumar (IN4774) wrote:

> Yes. These lib are added in ANT_HOME/lib.
>
> Regards,Rajesh
>
> -----Original Message-----
> From: Brian Pontarelli [mailto:brian@pontarelli.com]
> Sent: Wednesday, May 13, 2009 7:33 PM
> To: Ant Users List
> Subject: Re: taskdef class org.tigris.subversion.svnant.SvnTask  
> cannot be found
>
> Did you add these to the ANT_HOME/lib directory?
>
> -bp
>
>
> On May 13, 2009, at 1:24 AM, Rajesh Kumar (IN4774) wrote:
>
>> I got following error in when I execute one target in ant...
>>
>> file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class
>> org.tigris.subversion.svnant.SvnTask cannot be found
>>
>> I have following files added in path
>>
>> ganymed.jar
>> svnClientAdapter.jar
>> svnant.jar
>> svnjavahl.jar
>>
>> Any Solution
>>
>> ________________________________
>> http://www.mindtree.com/email/disclaimer.html
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
> http://www.mindtree.com/email/disclaimer.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


RE: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

Posted by "Rajesh Kumar (IN4774)" <ra...@mindtree.com>.
Yes. These lib are added in ANT_HOME/lib.

Regards,Rajesh

-----Original Message-----
From: Brian Pontarelli [mailto:brian@pontarelli.com]
Sent: Wednesday, May 13, 2009 7:33 PM
To: Ant Users List
Subject: Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

Did you add these to the ANT_HOME/lib directory?

-bp


On May 13, 2009, at 1:24 AM, Rajesh Kumar (IN4774) wrote:

> I got following error in when I execute one target in ant...
>
> file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class
> org.tigris.subversion.svnant.SvnTask cannot be found
>
> I have following files added in path
>
> ganymed.jar
> svnClientAdapter.jar
> svnant.jar
> svnjavahl.jar
>
> Any Solution
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


http://www.mindtree.com/email/disclaimer.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: taskdef class org.tigris.subversion.svnant.SvnTask cannot be found

Posted by Brian Pontarelli <br...@pontarelli.com>.
Did you add these to the ANT_HOME/lib directory?

-bp


On May 13, 2009, at 1:24 AM, Rajesh Kumar (IN4774) wrote:

> I got following error in when I execute one target in ant...
>
> file:/data/stage2/BUILDFOPS/build.xml:6: taskdef class  
> org.tigris.subversion.svnant.SvnTask cannot be found
>
> I have following files added in path
>
> ganymed.jar
> svnClientAdapter.jar
> svnant.jar
> svnjavahl.jar
>
> Any Solution
>
> ________________________________
> http://www.mindtree.com/email/disclaimer.html


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org