ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bwana McCall <bwanamcc...@yahoo.com>
Subject trouble with CvsChangeLog task
Date Mon, 12 Aug 2002 21:49:13 GMT
Hi all,

I am trying to use the CvsChangeLog task within Ant and am having trouble.  I
am doing a simple test by making changes to bogus files within CVS and trying
to create a changelog.

My situation is this:  I am specifying a date range of yesterday to tomorrow to
get a file to show up that I committed today:

    <cvschangelog dir="path\to\module"
      destfile="${changelogxml}"
      start="${yesterday}"
      end="${tomorrow}"
    />

    <style in="${changelogxml}" 
       out="${changeloghtml}"
       style="${ant.home}/etc/changelog.xsl">
      <param name="title" expression="Test ChangeLog"/>
      <param name="module" expression="test"/>
    </style>

My resulting report shows nothing.  I have tried adjusting my $yesterday and
$tomorrow variables by adding hours to match CVS's GMT timestamps, but still
nothing.  My report does work when I specify daysinpast="10", but not with
daysinpast="1".  I have tried the equivalent cvs command and got my desired
output:

cvs log -N -d "11 Aug 2002 17:15<13 Aug 2002 17:15" path\to\module

output>>

RCS file: /path/to/test/blah.sql,v
Working file: test/blah.sql
head: 1.8
branch:
locks: strict
access list:
keyword substitution: kv
total revisions: 8;     selected revisions: 3
description:
----------------------------
revision 1.8
date: 2002/08/12 21:31:17;  author: bmccall;  state: Exp;  lines: +6 -21
another change for the masses
----------------------------
revision 1.7
date: 2002/08/12 21:18:40;  author: bmccall;  state: Exp;  lines: +13 -2
another change for the masses
----------------------------
revision 1.6
date: 2002/08/12 19:08:23;  author: bmccall;  state: Exp;  lines: +14 -0
blahlahdlkfjasldfjlkas  yes baby yes
=============================================================================

My ultimate goal is to get the last day's changes in a changelog, but this
simple test doesn't seem to work.  Any suggestions?

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

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


Mime
View raw message