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/api/src/java/org/apache/avalon/repository ApplicationDirective.java
Date Tue, 18 Nov 2003 07:37:18 GMT
mcconnell    2003/11/17 23:37:18

  Modified:    repository/api/src/java/org/apache/avalon/repository
                        ApplicationDirective.java
  Log:
  Remove resolution of repository hosts from descriptor (was breaking IOC).
  
  Revision  Changes    Path
  1.2       +17 -10    avalon-sandbox/repository/api/src/java/org/apache/avalon/repository/ApplicationDirective.java
  
  Index: ApplicationDirective.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/repository/api/src/java/org/apache/avalon/repository/ApplicationDirective.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ApplicationDirective.java	17 Nov 2003 10:02:34 -0000	1.1
  +++ ApplicationDirective.java	18 Nov 2003 07:37:18 -0000	1.2
  @@ -123,17 +123,24 @@
   
           m_implementation = new JarDescriptor( group, name, version );
           
  +        m_repos = repositories;
  +
  +        //
  +        // SJM: Removed the following code bacause this break IOC.  Instead the
  +        // remote repo sequence is supplied as an argumemt.
  +        //
  +
           // gets the comma separated repository list
  -        String[] repos = 
  -          RepositoryUtils.getDelimited( ',', properties.getProperty( REPOS_KEY ) ) ;
  -        if( repos != null )
  -        {
  -            m_repos = repos;
  -        }
  -        else
  -        {
  -            m_repos = repositories;
  -        }
  +        //String[] repos = 
  +        //  RepositoryUtils.getDelimited( ',', properties.getProperty( REPOS_KEY ) ) ;
  +        //if( repos != null )
  +        //{
  +        //    m_repos = repos;
  +        //}
  +        //else
  +        //{
  +        //    m_repos = repositories;
  +        //}
       }
   
       /**
  
  
  

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


Mime
View raw message