directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: Hardcoded Version
Date Wed, 11 Jun 2008 13:19:42 GMT
Felix Knecht schrieb:
> Pierre-Arnaud Marcelot schrieb:
>>  Hi Felix,
>>
>>  Actually, it would be better if we don't change the version number on 
> this project.
>>  It is used and bundled in the Apache DS plugin, and the version is 
> hardcoded in the coded of the plugin (sorry but it was needed and I 
> had no other solution)...
>
> Is it in the apacheds/.../ApacheDsPluginUtils.java?
>
> What about reading this things
> - String APACHEDS_VERSION = "1.5.2"
> - String[] apachedsLibraries
> from a properties file located somewhere in the resource folder and 
> having the resource file filtered with the wanted version?

It's not even needed to have a properties file, it can even be done in 
the java source file, see
http://www.gxdeveloperweb.com/Blogs/Bram-de-Kruijff/Maven-secrets-filtering-sources.htm
>
> Felix
>


Mime
View raw message