FYI, this is what we do for ADS.

Alex

On Wed, Jun 11, 2008 at 9:14 AM, Felix Knecht <felixk@apache.org> wrote:
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?

Felix