You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Piotr Bzdyl (JIRA)" <ji...@codehaus.org> on 2005/12/16 08:03:05 UTC
[jira] Commented: (MNG-1832) built-in property containing current
timestamp
[ http://jira.codehaus.org/browse/MNG-1832?page=comments#action_53539 ]
Piotr Bzdyl commented on MNG-1832:
----------------------------------
It would be very helpful in filling some properties files to get built-time at the artifact runtime to identify the version. It would be also helpful to have property with the current checkout revision (ie. ${scm.currentRevision}). Then I could use in the resources.properties:
app.builtOn=${timestamp}
app.scmVersion=${scm.currentRevision}
I can use $Revision$ or $LastChangedRevision$ because I would have to remember to modify and commit that properties file before building.
> built-in property containing current timestamp
> ----------------------------------------------
>
> Key: MNG-1832
> URL: http://jira.codehaus.org/browse/MNG-1832
> Project: Maven 2
> Type: New Feature
> Versions: 2.0.1
> Reporter: Michal Stochmialek
>
>
> Current timestamp (time or date) is often used while filtering resources or creating manifest in ant builds. There is no equivalent in maven.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org