ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David TROGDON" <David.TROG...@na.biomerieux.com>
Subject ANT CVS and log
Date Mon, 12 Sep 2005 18:17:28 GMT
Here is one for you gurus.


The CVS command line syntax (in Windows XP) that works is:

C:\eclipse\workspace>cvs log -N -d"11 Aug 2005 <= 25 Aug 2005";"25 Aug 2005
>= 11 Aug 2005" ProjectName > c:\ProjectName.txt



In an attempt to translate this into an ANT script with a few variables to
ease various settings it ends up something like this:



<cvs cvsroot="${CVS.Working}" command="log -N -d&quot;${report.start.date}
<= ${report.end.date}&quot;;&quot;${report.end.date} >=
${report.start.date}&quot;" package="ProjectName"
dest="${Report.Working}"/>

I THINK every thing is OK excpet the :

command="log -N -d&quot;${report.start.date}
<= ${report.end.date}&quot;;&quot;${report.end.date} >=
${report.start.date}&quot;"


Which is obviously a bit messy and ANT does not seem to like the <= or >=
when trying to define date ranges.


You wonderful insight and help is appreciated


Thanks

David T.




















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


Mime
View raw message