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

[Subclipse-users] Problem using <svn> tag in ant script: Using svnant-1.2.1

From: Pavan Mallegowda <pavan.mallegowda_at_oracle.com>
Date: Wed, 21 Oct 2009 15:20:27 +0530

Hi,

I want to export my project in SVN, using ANT script.

Here is what I do:

1. Add /svnant.jar, svnClientAdapter.jar, svnjavahl.jar, ganymed.jar and
svnkit.jar/ (taken from svnant-1.2.1) in the *classpath*, after adding
these jar files in my *lib *folder.
2. In my *build file* I add the following:

    /<taskdef resource="org/tigris/subversion/svnant/svnantlib.xml"/>
    ..
    ..
    ..
    <target name="svnexport">"
       <svn javahl="true" svnkit="true" username="abc" password="xyz"
          <export srcUrl="<svn_src_path>" destPath="<destination_path>" />
       </svn>
    </target>/

3. I run "*ant svnexport*" from command line and I get the following error:

/ "*Cannot find javahl, svnkit nor command line svn client*"/

I tried all combinations of true/false values to javahl and svnkit.
Also, I tried not to use javahl or svnkit inside <svn> tag. But this too
doesn't help.

Am I missing something here? Can anyone please help urgently?

PS: Pls reply to me directly since I am not registered in the user group.

Thanks in Advance,
Pavan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-10-21 13:17:05 CEST

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