avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject cvs commit: avalon/merlin/repository/spi/src/java/org/apache/avalon/repository RepositoryConfig.java repository.properties
Date Mon, 03 Nov 2003 22:03:54 GMT
akarasulu    2003/11/03 14:03:54

  Modified:    merlin/repository/spi/src/java/org/apache/avalon/repository
                        RepositoryConfig.java repository.properties
  Log:
  Changed name of the config bean property for the local 
  cache.
  
  Revision  Changes    Path
  1.3       +19 -11    avalon/merlin/repository/spi/src/java/org/apache/avalon/repository/RepositoryConfig.java
  
  Index: RepositoryConfig.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/repository/spi/src/java/org/apache/avalon/repository/RepositoryConfig.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RepositoryConfig.java	3 Nov 2003 18:54:19 -0000	1.2
  +++ RepositoryConfig.java	3 Nov 2003 22:03:54 -0000	1.3
  @@ -68,7 +68,7 @@
       private URL [] m_remoteRepositories = null ; 
   
       /** the path to the local repository that caches remote artifacts */
  -    private String m_localRepository = null ; 
  +    private String m_cacheDir = null ; 
   
       /** descriptor for proxy used to access remote repositories */
       private ProxyContext m_proxyCtx = null ;
  @@ -108,7 +108,9 @@
   
       
       /**
  -     * @param a_remoteRepositoryUrls the remote Repositories to use.
  +     * Gets the remote repository urls for downloading artifacts.
  +     * 
  +     * @param a_remoteRepositories the remote Repositories to use.
        */
       public void setRemoteRepositoryUrls( URL[] a_remoteRepositories )
       {
  @@ -117,6 +119,8 @@
       
       
       /**
  +     * Sets the remote repository urls for downloading artifacts.
  +     * 
        * @param a_remoteRepositoryUrls the remote Repositories to use.
        */
       public void setRemoteRepositoryUrls( String[] a_remoteRepositories )
  @@ -135,20 +139,24 @@
       
       
       /**
  -     * Return the path to the local repository cache
  -     * @return Returns the localRepository.
  +     * Gets the directory where repository artifacts are stored after being 
  +     * downloaded from the Repository.
  +     * 
  +     * @return the place to cache repository artifacts
        */
  -    public String getLocalRepository()
  +    public String getCacheDir()
       {
  -        return m_localRepository ;
  +        return m_cacheDir ;
       }
   
       
       /**
  -     * @param a_localRepository the localRepository to set
  +     * Sets the directory where we store downloaded artifacts.
  +     * 
  +     * @param a_cacheDir the place to cache repository artifacts
        */
  -    public void setLocalRepository( String a_localRepository )
  +    public void setCacheDir( String a_cacheDir )
       {
  -        m_localRepository = a_localRepository ;
  +        m_cacheDir = a_cacheDir ;
       }
   }
  
  
  
  1.4       +2 -2      avalon/merlin/repository/spi/src/java/org/apache/avalon/repository/repository.properties
  
  Index: repository.properties
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/repository/spi/src/java/org/apache/avalon/repository/repository.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- repository.properties	3 Nov 2003 06:49:51 -0000	1.3
  +++ repository.properties	3 Nov 2003 22:03:54 -0000	1.4
  @@ -1,6 +1,6 @@
  -factory=org.apache.avalon.repository.impl.DefaultFactory
  +cache.dir=.repository
   
  -local.repository.path=.repository
  +factory=org.apache.avalon.repository.impl.DefaultFactory
   
   remote.repository.url.0=http://ibiblio.org/maven
   
  
  
  

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


Mime
View raw message