Login | Register
My pages Projects Community openCollabNet

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

subclipse
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

[Subclipse-users] Problem using &lt;svn&gt; tag in ant script: Using svnant-1.2.1

Author Pavan Mallegowda <pavan dot mallegowda at oracle dot com>
Full name Pavan Mallegowda <pavan dot mallegowda at oracle dot com>
Date 2009-10-21 02:51:17 PDT
Message 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/s​vnantlib.xml"/>
    ..
    ..
    ..
    <target name="svnexport">"
       <svn javahl="true" svnkit="true" username="abc" password="xyz"
          <export srcUrl="<svn_src_path>" destPath="<destin​ation_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
Attachments

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-users] Problem using &lt;svn&gt; tag in ant script: Using svnant-1.2.1 Pavan Mallegowda <pavan dot mallegowda at oracle dot com> Pavan Mallegowda <pavan dot mallegowda at oracle dot com> 2009-10-21 02:51:17 PDT
Messages per page: