db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Levitt <de...@mylevita.com>
Subject Re: [jira] Created: (DERBY-221) User documentation should include a timestamp and/or svn revision number
Date Wed, 13 Apr 2005 18:23:36 GMT
The following code is currently commented out but
included in the mods we have made to the
dita2fo-shell.xsl file in the DITA Toolkit:

<!-- Timestamp template that currently causes errors
<xsl:template match="TodaysDate">
('MMMM d, yyyy, h:mm:ss a (zz)'),
 </xsl:template> -->

This is called on the cover page (but also commented
<!-- <xsl:call-template name="TodaysDate"/> (Currently
not working...) -->

This method causes errors that fail the build, so
after commenting them out for now, I added this less
dynamic method to temporarily add timestamps to the
cover page:
<!-- set the brief timestamp -->
<fo:block margin-top="3pc" text-align="right"
font-size="8pt" line-height="normal">
          Derby Document build: 2005-04-12T11:30PST :
12 April 2005

Obviously, this is not desirable as it means you have
to hard code a new timestamp before creating output
each time.

If anyone can get the former method working, we'll
have our timestamp!

--- "Samuel Andrew McIntyre (JIRA)"
<derby-dev@db.apache.org> wrote:
> User documentation should include a timestamp and/or
> svn revision number
>          Key: DERBY-221
>          URL:
> http://issues.apache.org/jira/browse/DERBY-221
>      Project: Derby
>         Type: Improvement
>   Components: Documentation  
>     Versions:    
>     Reporter: Samuel Andrew McIntyre
>     Priority: Minor
>      Fix For:
> In order to easily identify when a set of
> documentation was generated, it would be useful to
> add a timestamp, and possibly the svn revision at
> which the documentation was generated, to the
> output. One approach would be to replace a token in
> either the input files or final output with the
> appropriate information using Ant. This may not work
> for PDFs, in which case the timestamp may need to be
> inserted at the intermediate XSL-FO stage.
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
> -
> If you want more information on JIRA, or have a bug
> to report see:
>    http://www.atlassian.com/software/jira

View raw message