Docs on this are a little confusing. Under version 3.2.5 we introduced
the inversion of the bootstrap system with the repository taking
control.  Under 3.3.0 this was improved with the introduction of a
'application' namespace.  Putting this together means that the
properties available within a 'merlin.properties' file include both the
Avalon repository stuff and the merlin properties.

I.e. both of the following:

 
http://avalon.apache.org/products/runtime/system/repository/bootstrap.ht
ml
 
http://avalon.apache.org/products/runtime/reference/kernel/properties.ht
ml

I posted an update to the JIRA with an improved kernel/index.xml file a
day or two ago which should improve the docs on this - however, there is
still some degree of cleaning up to be done inside the kernel xml file
specification (mainly legacy from Merlin 3.0).

  http://issues.apache.org/jira/browse/CENTRAL-18

Steve.


> -----Original Message-----
> From: Alexis Agahi [mailto:[EMAIL PROTECTED]
> Sent: 06 August 2004 23:22
> To: Avalon framework users
> Subject: Re: proxy
> 
> Vitaly Berdinskikh wrote:
> 
> > Hi!
> >
> > I am write in kernel.xml:
> > ...
> >      <proxy>
> >         <host>10.???.???.???</host>
> >         <port>3128</port>
> >      </proxy>
> > ...
> >
> > Don't work.
> 
> 
> I might be wrong but this does not seems to be implemented anymore...
> 
> Configuration repositoryConfig =
> config.getChild( "repository" );
> File root = criteria.getRepositoryDirectory();
> File cache = getCacheDirectory( root,
>         repositoryConfig.getChild( "cache" ) );
> Repository repository =
> createApplicationRepository( context, cache, hosts );
> getLogger().debug(
>         "repository established: " + repository );
>         factory.setRepository( repository );
> 
> 
> merlin/impl/src/java/org/apache/avalon/merlin/impl/DefaultFactory.java
> line 427
> 
> 
> Despite
> http://avalon.apache.org/products/runtime/reference/kernel/repository/
> 
> Guys, FYI, http://avalon.apache.org/products/runtime/reference/kernel/
> has broken link on kernel stuff.
> 
> 
> 
> > I am write in command-line startup merlin:
> > ... -Dhttp.proxy=true -Dhttp.proxyHost=10.???.???.???
> > -Dhttp.proxyPort=3128 ...
> >
> > Work!
> 
> --
> Al
> 
> ---------------------------------------------------------------------
> 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