This seems like a very useful plugin to have. I think we should have one.

Cheers
Prasad

On 2/28/06, Anders Hessellund Jensen <[EMAIL PROTECTED]> wrote:
> I would like to be able to substitute timestamps with the build time
> into a resource file. As I understand it, there is currently no plugin
> to to this, so I consider writing one.
>
> The plugin should leverage the existing resource filtering mechanism of
> M2. The plugin would take a configuration like this:
>
> <configuration>
>    <timestamps>
>      <timestamp>
>         <propertyName>build.date</propertyName>
>         <pattern>yyyy.MM.dd</pattern>
>      <timestamp>
>    <timestamps>
> </configuration>
>
> Running the plugin with this configuration would define the M2 property
> build.date, and any filtered resource file would get ${build.date}
> substituted with 2006.02.28 or whatever the date at build time is.
>
> WDYT?
>
> Best regards,
> Anders
>
> ---------------------------------------------------------------------
> 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]

Reply via email to