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/assembly/src/java/org/apache/avalon/assembly/engine EngineClassLoader.java
Date Wed, 08 Jan 2003 21:21:42 GMT
mcconnell    2003/01/08 13:21:41

  Modified:    assembly/src/java/org/apache/avalon/assembly/engine
                        EngineClassLoader.java
  Log:
  Switch ordering of classpath loading.
  
  Revision  Changes    Path
  1.21      +11 -11    avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java
  
  Index: EngineClassLoader.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- EngineClassLoader.java	8 Jan 2003 21:01:21 -0000	1.20
  +++ EngineClassLoader.java	8 Jan 2003 21:21:40 -0000	1.21
  @@ -572,17 +572,6 @@
           }
   
           //
  -        // load the explicit URLs
  -        //
  -
  -        for( int i=0; i<m_urls.length; i++ )
  -        {
  -            URL url = m_urls[i];
  -            getLogger().debug("processing: '" + url + "'." );
  -            addURL( url );
  -        }
  -
  -        //
           // load the classpath
           //
   
  @@ -594,6 +583,17 @@
           {
               final String error = "Classpath deployment failure.";
               throw new EngineException( error, e );
  +        }
  +
  +        //
  +        // load the explicit URLs
  +        //
  +
  +        for( int i=0; i<m_urls.length; i++ )
  +        {
  +            URL url = m_urls[i];
  +            getLogger().debug("processing: '" + url + "'." );
  +            addURL( url );
           }
   
           if( getLogger().isDebugEnabled() )
  
  
  

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


Mime
View raw message