[Yanel-dev] new build property "local.config.home" supplementing "local.config.dir"

Michael Wechner michael.wechner at wyona.com
Wed Apr 8 23:49:36 CEST 2009


Guillaume Déflache schrieb:
> Hi!
>
> This property allows to store all the local Yanel configuration in a 
> directory *not relative" to $YANEL_HOME/conf/ (see 
> http://svn.wyona.org/repos/public/yanel/trunk/src/build/build.properties 
> for more info).

thanks very much, whereas to be honest I don't fully understand how this 
works

# Dir name of local configuration
local.config.dir=conf/local

# Full path of local configuration (NOTE: defining it will override any 
local.config.dir setting.)
#local.config.home=/path/to/project/yanel-configuration


Is yanel-configuration a directory? And if so, what does it contain (for 
example yanel.xml or realms.xml)? And if so, does it mean that files 
like yanel.xml are not
loaded from the classpath anymore? And if so, where within the web-app 
is this path set?

Thanks

Michi
>  (Fortunately entropy did not grow too much since I also removed a 
> similar but yet unused property there! ;) )
> This helps a bit for Hudson projects where it can then be stored out 
> of the workspace, thus avoiding a complete wipeout on failed svn updates.
>
> Originally I wanted to support relative paths in Yanel conffiles to 
> make it mostly configuration-independant, but it proved much harder 
> than expected (some refactoring of the build process of the resources 
> and realms would be needed, and Michi is also doing some ATM, so I'd 
> better wait).
> Anyway I'll try to get there slowly on my free time eventually...
>
> Cheers,
>    Guillaume



More information about the Yanel-development mailing list