Oleg Kalnichevski wrote:
> Roland et al
> 
> There is my first stab at version detection based on build-time
> properties. Maven will happily filter resource files and replace
> property placeholders with their corresponding build-time values. I am
> not sure the same can be done for source files. So, the downside of this
> approach is that the resource file containing the version needs to be
> loaded through a class loader. Oh well. I am not sure this will pass the
> scrutiny of the Holy API Inquisition but I'll try ;-)
> 
> Cheers
> 
> Oleg

I quite like the version file. Also the class naming is consistent with Version
classes used by other projects. Maybe the version file could be a property file?
 I know Maven/Ant can easily update those. And it would give a little extra
safety regarding encoding.

Odi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to