I guess I could just make the change in the html. That works ok for now, but I have to reapply these changes every time I generate a new site.
Sam Anabtawi wrote: > > So is there any solution or any kind of work around? Can I manually change > that message somewhere? > A message saying "Changes from an unknown range" on my most important site > page does not seem to impress my boss alot :\ > > > > > Allan Ramirez wrote: >> >> Hi Nate, >> >> As far as I know, the plugin does not resolve the last revision dates >> for each tag. Maybe the text "Changes from an unknown range" should be >> replace with "Changes from <start-tag> to <end-tag>" >> >> -allan >> >> Nate wrote: >>> When I generate the changelog plugin using the tag type with CVS, I get >>> the following string at the top of the page: "Changes from an unknown >>> range". >>> >>> Here is part of my POM: >>> <plugin> >>> <groupId>org.apache.maven.plugins</groupId> >>> <artifactId>maven-changelog-plugin</artifactId> >>> <version>2.0-SNAPSHOT</version> >>> <reportSets> >>> <reportSet> >>> <id>single-report</id> >>> <configuration> >>> <type>tag</type> >>> <tags> >>> <tag implementation="java.lang.String">MyApp_0_7_rc1</tag> >>> <tag implementation="java.lang.String">MyApp_0_7_rc2</tag> >>> </tags> >>> </configuration> >>> ... >>> </reportSet> >>> </reportSets> >>> </plugin> >>> >>> If I use the date or range type, that field is filled in correctly with >>> the date range. I looked at the changelog.xml file that is generated >>> for >>> both the tag type and a date type, and the start and end dates >>> attributes >>> were not filled in for the tag output. I believe these start and end >>> attributes are was is being read in by the report generator and used for >>> the range. >>> >>> Generated changelog.xml from tag type: >>> <changelog> >>> <changeset datePattern="yyyyMMdd HH:mm:ss z"> >>> <changelog-entry> >>> ... >>> >>> Generated changelog.xml from date type: >>> <changelog> >>> <changeset datePattern="yyyyMMdd HH:mm:ss z" start="20061018 00:00:00 >>> CDT" end="20061025 00:00:00 CDT"> >>> <changelog-entry> >>> ... >>> >>> I looked into the changelog plugin source, and found that the changeset >>> element and attributes are generated by an SCM plugin object. I tried >>> to >>> go into that source code, but I was unsuccessful in tracking down the >>> exact location where those fields are filled in. Is it possible to get >>> the tag range displayed instead of an unknown date range? >>> >>> Thanks, >>> -Nate >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/-M2--Changelog-plugin-report-unknown-range-tf2510906s177.html#a7081308 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
