ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goktepe <andrewgokt...@gmail.com>
Subject Re: Pass Argument to CVS Command
Date Wed, 03 Aug 2005 13:12:56 GMT
For the '<' char you can use '&lt;'
 Ant should take whatever you give for the 'command' value and use it for 
the CVS command line. For rlog you could do the following:
 <cvs cvsRoot="${cvs.root}" command="rlog <args>" dest="${cvs.log.dir}" 
failonerror="yes"/>
 -Andrew

 On 8/3/05, KrustyDerClown <KrustyDerClown@gmx.de> wrote: 
> 
> Hello,
> 
> how can i pass the argument "-d 2005-10-10<2005-12-12" to the cvs command
> "log" ?
> 
> <cvs cvsRoot="${cvs.root}" command="log" dest="${cvs.log.dir}"
> failonerror="yes" >
> <commandline>
> <argument line="${cvs_log_command}"/>
> </commandline>
> </cvs>
> 
> The problem is the "<" symbol. Is that possible that i use this symbol in
> the argument line ?
> 
> And another question: Can i use the cvs command "rlog" also in ANT ? When 
> i
> start my build file with -debug i see that ANT will call CVS without this
> command .. then i get an error ( consequently ).
> 
> Thank you for your support.
> 
> Greets Oliver
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message