On 11-Jun-09, at 6:47 PM, Benjamin Bentmann wrote:
Jason van Zyl wrote:
I just did this to the request before processing:
request.getProperties().put( "${build.timestamp}", new
SimpleDateFormat( "yyyyMMdd-
hhmm" ).format( request.getStartTime() ) );
The problem with this approach is that the format should be
customizable by a project property.
You missed the second part of my message. I agree with you.
"some declarative way to insert properties without having to create
new classes would be nice"
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------
A man enjoys his work when he understands the whole and when he
is responsible for the quality of the whole
-- Christopher Alexander, A Pattern Language
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]