[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [Subclipse-users] [svn] java.lang.NoSuchMethodError: <init>

From: Kristian <krsp_at_nykredit.dk>
Date: Wed, 6 May 2009 05:00:49 -0700 (PDT)

> I am doing very basic stuff to checkout or export the source code.
> following the proper syntax also but it is still failing.
> This is my build.xml:
> ============================================================================================================================================================
> <?xml version="1.0"?>
> <!-- Sample build file used to retrieve svnant's sources -->
> <project name="svn-test" basedir="." default="checkoutThis">
>
> <property environment= "env"/>
>
> <!-- SVN classpath -->
> <path id = "class.path.svn" >
> <fileset
> dir = "C://SVN Migration/svnant-1.2.1/lib" >
> <include name= "**/*.jar" />
> </fileset>
> </path>
>
> <!-- load the svn task -->
> <taskdef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="class.path.svn"/>
>
> <target name="checkoutThis">
> <echo message="inside checkoutThis"/>
> <svn username="" password="">
> <export srcUrl="http://gcateng-nj1p.nam.nsroot.net:9050/svn/50262/CPBClientWebSite/trunk/cwsdomain" revision="HEAD" destPath="c://TryMaadi/domain" />
> </svn>
> </target>
>
> </project>
> ============================================================================================================================================================
>
> though the export command is successfull(there are contents properly being put from repository into this), but i am still gettting the following errors(please see the log files).
> Please help.
>
> With Best Regards:
> Ashutosh Sharma
> CWS-Dev
>
> ashutosh2.sharma_at_citi.com

Hi,
I've had the exact same problem, but solved it by adding the javahl="false" parameter to the svn task, like this:

<svn javahl="false" username="" password="">

krsp

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2080057

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-05-06 15:45:42 CEST

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.