avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/repository/site/xdocs/start/install cvs.xml
Date Sun, 23 Nov 2003 20:32:32 GMT
mcconnell    2003/11/23 12:32:32

  Modified:    repository/site/xdocs/start/install cvs.xml
  Log:
  Remove usage info.
  
  Revision  Changes    Path
  1.2       +0 -49     avalon-sandbox/repository/site/xdocs/start/install/cvs.xml
  
  Index: cvs.xml
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/repository/site/xdocs/start/install/cvs.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cvs.xml	23 Nov 2003 20:17:56 -0000	1.1
  +++ cvs.xml	23 Nov 2003 20:32:32 -0000	1.2
  @@ -131,55 +131,6 @@
   * test   -- test project
   * util   -- implementation utilities shared by the default impl and main
   
  -Usage
  ------
  -
  -Simple setup:
  -
  -   String[] bootstrap = new String[]{ "http://dpml.net" };
  -   RepositoryFactory factory = new InitialRepositoryFactory( bootstrap );
  -   Repository repository = factory.create();
  -
  -Custom setup:
  -
  -   String[] bootstrap = new String[]{ "http://dpml.net" };
  -   String[] hosts = new String[]{ "http://dpml.net", "http://ibiblio.org/maven" };
  -   RepositoryFactory factory = new InitialRepositoryFactory( hosts );
  -
  -   DefaultRepositoryContext context = 
  -      new DefaultRepositoryContext( factory.getDefaultContext() );
  -   context.setCacheDir( ".cache" );
  -   context.setRemoteRepositoryUrls( hosts ) ;
  -
  -   Repository repository = factory.create( context ) ;
  -
  -Example retrival of a artifact:
  -
  -   Artifact artifact = 
  -     MavenArtifactFactory.createJarArtifact( 
  -       "avalon-framework", "avalon-framework-api", "4.1.5" );
  -   URL local = repository.getResource( artifact );
  -
  -Example creation of a classloader:
  -
  -   Artifact artifact = 
  -     MavenArtifactFactory.createJarArtifact( 
  -       "merlin", "merlin-kernel-impl", "3.2.1" );
  -   ClassLoader loader = repository.getClassLoader( artifact );
  -
  -The Bootstrapper class is not complete at this time, however the 
  -ability to invoke classloader creation from the command line is 
  -supported.  For example:
  -
  -  java -jar avalon-repository-main-1.2-dev.jar \
  -    -artifact merlin:merlin-kernel-impl;3.2.1-dev
  -
  -
  -Status
  -------
  -
  -Javadocs, unit tests, general documetation, and tutorials pending.
  -
   </source>
   
             </subsection>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message