ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject Little problem with <cvschangelog>
Date Mon, 12 Aug 2002 22:37:52 GMT
I've given <cvschangelog> a spin for the first time, and it's quite nice ;-)
I've run into a small issue though... <cvschangelog> is finding non-existent
revision numbers!!! The extract from the XML changelog file (below)
correctly mentions the new revision to be 1.7.2.5, which is part of a CVS
branch, but the previous revision should be 1.7.2.4, not 1.1.2.15, which
doesn't exist at all. This is confirmed by the CVS Web Log extract (below as
well).

Curiously enough, the change log is correct for other files, also in the
same branch!
Can anyone help? Thanks, --DD

PS: I'm using 1.5 released.

--- CVS Web Log (extract) ---
Revision 1.7.2.5 / (download) - annotate - [select for diffs] , Fri Aug 9
22:11:12 2002 UTC (3 days ago) by gshi 
Branch: branch_cycle1_iteration3 
Changes since 1.7.2.4: +1 -1 lines
Diff to previous 1.7.2.4 to branchpoint 1.7 
SCOPUSID#142847: filed

--- ChangeLog.xml (extract) ---
<entry>
  <date>2002-08-09</date>
  <time>10:11</time>
  <author><![CDATA[gshi]]></author>
  <file>
    <name>src/com/lgc/mowi/pres/pm/FaciesVariogramAnalyzer.java</name>
    <revision>1.7.2.5</revision>
    <prevrevision>1.1.2.15</prevrevision>
  </file>
  <msg><![CDATA[SCOPUSID#142847: fixed]]></msg>
</entry>

--- build.xml (extract) ---
  <property name="daysinpast"
            value="7" />
  <property name="changelog.base"
            location="cvschangelog-${daysinpast}" />

  <target name="changelog">
    <cvschangelog destfile="${changelog.base}.xml"
                  daysinpast="${daysinpast}" />
  </target>

  <target name="changelog-report">
    <style in="${changelog.base}.xml"
           out="${changelog.base}.html"
           style="${ant.home}/etc/changelog.xsl">
      <param name="title"  expression="XXX ChangeLog" />
      <param name="module" expression="yyy" />
      <param name="cvsweb"
expression="http://pserver.lgc.com/cgi-bin/cvsweb.cgi/" />
    </style>
  </target>

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