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

RE: How to get ANT work with Subversion

From: Hobson, Neville <neville_hobson_at_mentorg.com>
Date: 2004-09-23 10:30:20 CEST

My experience is also that if you want to use the javahl rather than command
line interface, do not set the javahl property. If the property exists, with
any value, the command line is used.

Elsewhere, I have queried whether the javahl interface can be used to access
a repository without a full subversion installation. I want to supply an ant
build file that will allow my users only to download builds from the
repository. Thus far my experiments have been unsuccessful. You mention
placing the dll's in the subversion dir. Do you know how ant is locating
that so I can make it look elsewhere?

Neville

-----Original Message-----
From: Uwe [mailto:newsgroup@ziegenhagen.info]
Sent: 07 September 2004 08:44
To: users@subversion.tigris.org
Subject: How to get ANT work with Subversion

Hello,

I would like to use subversion from my ant scripts, but somehow do not
manage to get it work.

I downloaded svnant and the javahl package from
http://subclipse.tigris.org/svnant.html and

http://svn.collab.net/repos/svn/trunk/subversion/bindings/java/javahl/

and extracted everything to the respective directories (all dll files to
  the subversion dir, all jar files to the ANT /lib dir.

Unfortunately the following script does not know "svn", so I suppose I need
to define a custom task. Can anyone help me?

<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="checkout" name="javahtest">

<target name="checkout">
        <svn>
                     <checkout url="http://localhost/yxilon/javahtest"
destPath="." />
        </svn>
     </target>
</project>

Uwe

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 23 10:31:03 2004

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

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