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/meta/src/java/org/apache/avalon/meta/model/builder XMLProfileCreator.java
Date Fri, 27 Dec 2002 16:32:59 GMT
mcconnell    2002/12/27 08:32:59

  Modified:    meta/src/java/org/apache/avalon/meta/model/builder
                        XMLProfileCreator.java
  Log:
  Changed lookup of packaged component from <component> to <profile>.
  
  Revision  Changes    Path
  1.5       +3 -2      avalon-sandbox/meta/src/java/org/apache/avalon/meta/model/builder/XMLProfileCreator.java
  
  Index: XMLProfileCreator.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/meta/src/java/org/apache/avalon/meta/model/builder/XMLProfileCreator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLProfileCreator.java	11 Dec 2002 05:05:58 -0000	1.4
  +++ XMLProfileCreator.java	27 Dec 2002 16:32:59 -0000	1.5
  @@ -205,12 +205,13 @@
           throws Exception
       {
           Vector vector = new Vector();
  -        Configuration[] profiles = info.getChildren( "component" );
  +        Configuration[] profiles = info.getChildren( "profile" );
           if( profiles.length == 0 )
           {
               Profile profile = createImplicitProfile( type );
               return new Profile[]{profile};
           }
  +
           for( int i = 0; i < profiles.length; i++ )
           {
               vector.add( buildProfile(
  
  
  

--
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