hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <...@odi.ch>
Subject Re: [HttpClient][PATCH] Version detection
Date Sun, 01 Jul 2007 11:46:30 GMT

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.


To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org

View raw message