Merlin not provides support for local cache selection, remote repositories, and proxy configuration. Information about configuring a merlin kernel to take advantage of these new features is available on the web-site:
http://avalon.apache.org/sandbox/merlin/meta/model/kernel/repository/index.html
For the impatient:
<kernel>
<!-- your regual kernel content --->
<!-- and now, the declaration of the local repository -->
<repository>
<!-- The default local cache is the [MERLIN-HOME]/repository. If you want to override this then uncomment and cache entry and include the absolute path of the alternative repository directory (e.g. your Maven repository). --> <!-- <cache>C:/my/repository</cache> -->
<!-- If an resource cannot be located in the local repository cache, Merlin will attempt to locate the resource in one or more remote repositories. If you have a proxy server you will need to declare it under the propxy element. If you declare a proxy, the host and port elements must be declared. You can also declare a 'credentials' element if your proxy requires password authentication. -->
<!-- <proxy> <host>proxy.somewhere.com</host> <port>proxy.somewhere.com</port> <credentials> <username>test</username> <password>test</password> </credentials> </proxy> -->
<!-- Merlin will attempt to locate resource from the local cache. If a resource is unavailable, Merlin willl attempt to download the resource from one or more remote hosts. The hosts element contains the list of hosts that Merlin should attempt to connect to when resolving unsatisfied resource requests. -->
<hosts> <host>http://www.ibiblio.org/maven/</host> </hosts>
</repository>
</kernel>
Cheers, Steve.
p.s. Aaron, can you take a look at the implementation relative to what you have been doing (org.apache.avalon.assembly.repository.impl.FileRepository and friends). At this time the remote repository model only supports http and I'm assuming your doing things relative to local file repositories (i.e. plugging in the local maven rep as a alternative). Let me know if you thing there are some additional enhancements we could incorporate.
p.s.s. During testing I have discovered some caching problems with the ibiblio server. As things stand the information presented on the web interface to ibiblio does not correspond to what is downloaded - seems like there is a cache somewhere that is not quite in sync (there are situations where an update on the server is not propergated to the web interface on download even though the web interface is showing correct last-modification dates).
SJM
--
Stephen J. McConnell mailto:[EMAIL PROTECTED] http://www.osm.net
Sent via James running under Merlin as an NT service. http://avalon.apache.org/sandbox/merlin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]