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

RE: Ant tasks - svnant, jsvn, or what?

From: Greg Irvine <greg.irvine_at_thalesatm.com>
Date: 2004-03-19 01:40:31 CET

Here's my (working) items in my ant build file ...

  <!-- inform Ant where the svn task is in the svnant libs -->
  <taskdef resource="svntask.properties">
    <classpath>
      <pathelement
location="/usr/local/bin/svnant0.8.6/lib/svnant.jar"/>
      <pathelement
location="/usr/local/bin/svnant0.8.6/lib/svnjavahl.jar"/>
      <pathelement
location="/usr/local/bin/svnant0.8.6/lib/svnClientAdapter.jar"/>
    </classpath>
  </taskdef>

  <target name="update">
    <svn>
      <update dir="."/>
    </svn>
  </target>

It's all fine here...

- Greg

Greg Irvine
Senior Software Engineer (HMI)
Thales ATM, Melbourne, Australia
E-mail: greg.irvine@thalesatm.com
Ph: (03) 9425 7544, Mobile: 0413 900 265
Address: 630 Church St, Richmond, VIC 3121
Confidentiality Notice:
The information contained in this email, and any files transmitted with
it, is intended for the named recipients only. It may contain privileged
and/or confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email, and any files transmitted with
it, in error, please notify the sender by reply email and delete the
email from your system.
         

> -----Original Message-----
> From: Mark Phippard [mailto:MarkP@softlanding.com]
> Sent: Friday, 19 March 2004 11:11 AM
> To: users@subclipse.tigris.org
> Subject: Re: Ant tasks - svnant, jsvn, or what?
>
>
>
>
>
>
> I have not used svnant yet, but I know that most svn Java
> stuff makes use of JNI to call the C library functions. So
> you probably either need to have the Subversion binaries on
> your PATH or in the same folder as the JAR's or something like that.
>
> Mark
>
>
>
> To&nbsp;&nbsp; users@subclipse.tigris.org,
> users@subversion.tigris.org
> cc&nbsp;&nbsp;
> bcc&nbsp;&nbsp;
> Subject&nbsp;&nbsp; Ant tasks - svnant, jsvn, or what?
> Tim_Brown@aon.com
>
> 03/18/2004 06:03 PM CST
> <HR><font size=-1>Please respond to
> users@subclipse.tigris.org</font><HR> <font size=-1></font>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Greetings,
>
> Apologies in advance for cross-posting (for those of you on
> both lists).
>
> I'm looking for a recommendation for ant tasks (both Linux & Windows
> support) for SVN.
>
> I've recently built a SVN 1.0.1 repository and am hoping to
> migrate our environment from CVS soon, but I have to get Ant
> (1.6.1) working with it first.
>
> I've looked around and have located jsvn and svnant.   I've
> been able to get jsvn's tasks working, but not svnant's.
> (Obviously I'm doing something
> wrong!)
>
> Anyway, is there a strong preference for one solution over
> the other?  I ask because I've noticed most references I've
> seen out there appear to reflect svnant rather than jsvn.  
> (I'm also unfamiliar with the license jsvn is distributed under.)
>
> (Also, how in the heck do I get svnant to work?  I've added
> the taskdef, and included the jars in my classpath & still nothing)
>
> Many thanks,
>
> Tim
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
Received on Fri Mar 19 11:40:31 2004

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.