You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Greg Irvine <gr...@thalesatm.com> on 2003/12/04 05:22:48 UTC

SVN Ant tasks help

Has anyone had any luck using svnant to access the SVN Ant tasks ?

I'm trying to access svn using within my Ant build scripts (that
happened to be called from Cruise Control).

Build.xml includes:
  <!-- inform Ant where the foreach task is in the ant-contrib libs -->
  <taskdef name="svnupdate"
classname="org/tigris/subversion/svnant/Update">
    <classpath>
      <pathelement
location="/usr/local/bin/svnant0.8.2/lib/svnant.jar"/>
    </classpath>
  </taskdef>

Results in:
file:/usr/local/home/tippref/cruisecontrol/workspace/build_tipp.xml:8:
taskdef class org/tigris/subversion/svnant/Update cannot be found

Am I being completely stupid?

Thanks for any help.

- 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.



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

Re: SVN Ant tasks help

Posted by Patrick Mayweg <ma...@qint.de>.
Hi Greg,
Greg Irvine wrote:

>Has anyone had any luck using svnant to access the SVN Ant tasks ?
>
>I'm trying to access svn using within my Ant build scripts (that
>happened to be called from Cruise Control).
>
>Build.xml includes:
>  <!-- inform Ant where the foreach task is in the ant-contrib libs -->
>  <taskdef name="svnupdate"
>classname="org/tigris/subversion/svnant/Update">
>    <classpath>
>      <pathelement
>location="/usr/local/bin/svnant0.8.2/lib/svnant.jar"/>
>    </classpath>
>  </taskdef>
>
>Results in:
>file:/usr/local/home/tippref/cruisecontrol/workspace/build_tipp.xml:8:
>taskdef class org/tigris/subversion/svnant/Update cannot be found
>  
>
I do not know much about svnant directly. It is build by the same 
people, which make subclipse. So you could ask on subclipse.tigris.org. 
Since both projects use the javahl /svnup java bindings (created by me), 
do you know that dll/so is needed?

>Am I being completely stupid?
>
>Thanks for any help.
>
>- 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.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>  
>
Patrick


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