Hi Stephen,
changing from merlin.override to merlin.kernel in merlin.properties solved
the problem!
However, it seems that you only can specify abvsolute file locations there
(java.net.URL?). Is there a way to give the location of the kernel.xml
relative to e.g. ${usr.dir}?

/peter

> -----Ursprungligt meddelande-----
> Från: Stephen McConnell [mailto:[EMAIL PROTECTED]
> Skickat: den 16 januari 2004 17:14
> Till: Avalon framework users
> Ämne: Re: how to change the repository locations?
> 
> 
> [EMAIL PROTECTED] wrote:
> > Hi,
> > 
> > we are trying to run some MerlinTestCases. It seems that we 
> are unable to
> > set the repository locations, though. It seems that in the 
> INFO section, the
> > replository locations are right, but then, they get 
> switched back to the
> > default values.
> 
> 
> You have a file named merlin-test-config.xml containing you 
> <repository> 
> configuration, but according to the -info listing your reading in a 
> kernel spec from kernel.xml.  As such you app repository is being 
> assigned to the default host addresses.
> 
>  >   ${merlin.kernel} ==
>  > file:/D:/projekt/avalon/merlin/target/merlin/config/kernel.xml
> 
> 
> > How is that? And how does the kernel configuration override 
> that behaviour?
> 
> You have two repositories plus a complicating factor.  The first 
> repository is used to bootstrap the system and is configured using an 
> avalon.properties file.  If no avalon.properties - then dpml 
> and ibiblio 
> are used as defaults.  The second repository (referred to as the 
> application repository) is configured relative to the information 
> contained in the kernel.xml file <repository> element.
> 
> The complicating fact is the the current info listing is not 
> showing the 
> application repository hosts, only the bootstrap hosts (this 
> is resolved 
> under 3.3 BTW).  Generally speaking this is not an issue when working 
> with the default configuration - but the presented info is 
> not so good 
> when your tweaking repositories.
> 
> Cheers, Stephen.
> 
> > Thanks for any hints :)
> > 
> 
> -- 
> 
> |------------------------------------------------|
> | Magic by Merlin                                |
> | Production by Avalon                           |
> |                                                |
> | http://avalon.apache.org/merlin                |
> | http://dpml.net/merlin/distributions/latest    |
> |------------------------------------------------|
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to