ant svninfo: date of commit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ant svninfo: date of commit

Jacques Le Roux
Administrator
Hi,

Sometimes it's useful to know at 1st glance at what time the last commit was made.

So I did that

-        <echo message=" - Release-revision : ${releasePath}-r${info.entry.commit(revision)}" file="runtime/svninfo.ftl"/>
+        <echo message=" - Release-revision : ${releasePath}-r${info.entry.commit(revision)} @ ${info.entry.commit.date}" file="runtime/svninfo.ftl"/>

Which result in something like "Release-revision : trunk-r1622982 @ 2014-09-07T07:01:12.860246Z"

I want to commit that in trunk, but I don't know how to better format the date, anybody an idea?

Jacques