|
|
Sponsor |
[jira] Commented: (DERBY-220) Javadoc build should include a timestamp and/: msg#00761apache.db.derby.devel
[ http://issues.apache.org/jira/browse/DERBY-220?page=comments#action_65687 ] Samuel Andrew McIntyre commented on DERBY-220: ---------------------------------------------- For the svn revision, it should be the svn revision of the view from which the javadoc was built. This represents most closely the state of the javadoc at the time it is built. The svn revision can be retrieved using the svnversion command. See the jar build for an example of how the changenumber property is set. In fact, you could probably just reuse the initjars target to set the changenumber. For the timestamp, I suggest using Ant's internal timestamp properties. the <tstamp> task is called to set these properties in the init target. It's just a matter of using them. So, all that might need to be done is to call the right init targets before the build, and add ${tstamp} and ${changenumber} to the footer text. As for using the Subversion keywords in the java source files, I suppose it's probably most useful for determining who last changed the particular file, but I think for purposes of dating the build, putting the timestamp and revision in the footer achieves the same thing much less intrusively. > Javadoc build should include a timestamp and/or the svn revision number in a > visible location. > ---------------------------------------------------------------------------------------------- > > Key: DERBY-220 > URL: http://issues.apache.org/jira/browse/DERBY-220 > Project: Derby > Type: Improvement > Components: Build tools > Versions: 10.1.0.0 > Reporter: Samuel Andrew McIntyre > Priority: Minor > Fix For: 10.1.0.0 > > In order to easily identify when a specific set of javadoc was built, and > from what source, it would be useful to include a timestamp and/or the svn > revision number at the time the javadoc is built. The footer is an excellent > location to place this information, as it is visible on every generated page. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Planning for a 10.1 release, Jeremy Boynes |
|---|---|
| Next by Date: | Re: Planning for a 10.1 release, Daniel John Debrunner |
| Previous by Thread: | [jira] Commented: (DERBY-220) Javadoc build should include a timestamp and/or the svn revision number in a visible location., Dyre Tjeldvoll (JIRA) |
| Next by Thread: | [jira] Commented: (DERBY-220) Javadoc build should include a timestamp and/or the svn revision number in a visible location., Dyre Tjeldvoll (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|