Re: [m2] Timestamp plugin

2006-03-03 Thread Anders Hessellund Jensen
Hi Jason, Not much work has been done yet. I have created a really minimal version of the plugin. Thats 7 lines of real code. Have a look at the plugin if you want to, its attached to https://issues.apache.org/jira/browse/GERONIMO-1659 . It may not be the best way of doing it, but doubt there

Re: [m2] Timestamp plugin

2006-03-02 Thread Jason van Zyl
Geoffrey De Smet wrote: Resources could use a lot more then the current filtering: - build timestamp Most of these are supported and they actually use a reflection tool to provide a light version of Velocity essentially. - pom information: -- version -- name, description, organization, ...

Re: [m2] Timestamp plugin

2006-03-02 Thread Geoffrey De Smet
Resources could use a lot more then the current filtering: - build timestamp - pom information: -- version -- name, description, organization, ... -- url - svn revision So all these things can be shown in the application and logs The current resources filtering happens something like this now: s

Re: [m2] Timestamp plugin

2006-03-02 Thread Jason van Zyl
Piéroni Raphaël wrote: Do the archetype plugin have a Velocity feature ? Archetype uses Velocity for creating project templates. But that actually needs to be fixed in some places as running GIFs through Velocity usually doesn't work very well :-) Jason. -

Re: [m2] Timestamp plugin

2006-03-02 Thread Jason van Zyl
Brett Porter wrote: I'm not so sure about this. Do we really want to be swizzling resources? I don't know what anyone might want to do, that's why I would use Velocity. This is the first suggestion of what users might want to do. So far what I've seen has been fairly limited needs - fields i

Re: [m2] Timestamp plugin

2006-03-02 Thread Piéroni Raphaël
Do the archetype plugin have a Velocity feature ? 2006/3/2, Brett Porter <[EMAIL PROTECTED]>: > > I'm not so sure about this. Do we really want to be swizzling resources? > > So far what I've seen has been fairly limited needs - fields in the > manifest and a properties file of info for record kee

Re: [m2] Timestamp plugin

2006-03-02 Thread Brett Porter
I'm not so sure about this. Do we really want to be swizzling resources? So far what I've seen has been fairly limited needs - fields in the manifest and a properties file of info for record keeping. I think a specialised plugin (maybe even a velocity plugin) is better for this than introducing ve

Re: [m2] Timestamp plugin

2006-03-02 Thread Jason van Zyl
Anders Hessellund Jensen 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. Sorry for not responding to this earlier, and I know that you've started working o

Re: [m2] Timestamp plugin

2006-03-01 Thread Anders Hessellund Jensen
The plugin is in progress. I'm aiming for functionality identical to that of the TStamp Ant core task: http://ant.apache.org/manual/CoreTasks/tstamp.html . Anders Hessellund Jensen wrote: I would like to be able to substitute timestamps with the build time into a resource file. As I understand

RE: [m2] Timestamp plugin

2006-02-28 Thread Brian E. Fox
I could certainly put this to use.. -Original Message- From: Anders Hessellund Jensen [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 28, 2006 10:30 AM To: dev@maven.apache.org Subject: [m2] Timestamp plugin I would like to be able to substitute timestamps with the build time into a

Re: [m2] Timestamp plugin

2006-02-28 Thread Prasad Kashyap
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 >

[m2] Timestamp plugin

2006-02-28 Thread Anders Hessellund Jensen
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 l