ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Kaźmierczyk" <kkazmierc...@gmail.com>
Subject Re: Problem with svn task
Date Mon, 26 Mar 2007 19:07:04 GMT
Thanks very much. The method I thought about didn't work, but yours
(with exec task) works :)

2007/3/25, Martin Gainty <mgainty@hotmail.com>:
> Hello Krzysztof-
>
> Did you d'load and install
> 1)Ant 1.70 beta?
> http://www.apache.org/dist/ant/
>
> 2)Ant svn library?
> http://subversion.tigris.org/project_packages.html
>
> ..Since I dont see either a jar or class file I would setup an exec binary target such
as
> <target name="help">
>   <exec executable="cmd">
>     <arg value="/c"/>
>     <arg value="%SVN_HOME%\bin\svn.exe"/>
>     <arg value="checkout"/>
>     <arg value="url="http://ucworkbench.cs.put.poznan.pl/svnroot"/>
>   </exec>
> </target>
>
> HTH,
> M--
> ---------------------------------------------------------------------------
> This e-mail message (including attachments, if any) is intended for the use of the individual
or entity to which it is addressed and may contain information that is privileged, proprietary
, confidential and exempt from disclosure. If you are not the intended recipient, you are
notified that any dissemination, distribution or copying of this communication is strictly
prohibited.
> ---------------------------------------------------------------------------
> Le présent message électronique (y compris les pièces qui y sont annexées, le cas
échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère
privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons
qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
> ----- Original Message -----
> From: "Krzysztof Kazmierczyk" <kkazmierczyk@gmail.com>
> To: <user@ant.apache.org>
> Sent: Sunday, March 25, 2007 11:29 AM
> Subject: Problem with svn task
>
>
> > Hi all,
> > I would like to checkout project from svn repository. I read this:
> > http://subclipse.tigris.org/svnant.html
> > What I understand, we need only to have svn command installed and I
> > have that ('svn'  command in terminal produces output).
> > I made to myself such build.xml file:
> >
> > <project name="UCWorkbench Builder" default="aa">
> > <target name="aa">
> >         <echo message="kolo" />
> >         <cvs>
> >
> >         </cvs>
> >         <svn  username="svn" password="svn">
> >                         <checkout
> > url="http://ucworkbench.cs.put.poznan.pl/svnroot"  />
> >         </svn>
> > </target>
> > </project>
> >
> > (Username and password is different)
> > I'm trying to execute it with commad: ant
> > I'm gettig output that  command svn is not understood.
> >
> > Any ideas what should I do?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message