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/tools/src/java/org/apache/avalon/meta/info/ant package.html
Date Thu, 11 Sep 2003 07:51:12 GMT
mcconnell    2003/09/11 00:51:12

  Modified:    meta/tools/src/java/org/apache/avalon/meta/info/ant
                        package.html
  Log:
  Correct a few errors in the package overview documetation.
  
  Revision  Changes    Path
  1.2       +16 -17    avalon-sandbox/meta/tools/src/java/org/apache/avalon/meta/info/ant/package.html
  
  Index: package.html
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/meta/tools/src/java/org/apache/avalon/meta/info/ant/package.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- package.html	10 Jul 2003 12:10:36 -0000	1.1
  +++ package.html	11 Sep 2003 07:51:12 -0000	1.2
  @@ -4,7 +4,7 @@
        <a name="intro">Avalon Meta Generation for Ant</a>
      </h2>
    
  -    <p>The meta info generator task scans sources files for the present of an avalon.meta
tags and based on the tag set specification, generates either XML or serialized meta-info
descriptors.</p>
  +    <p>The meta info generator task scans sources files for the presence of an avalon.meta
tags and based on the tag set specification, generates either XML or serialized meta-info
descriptors.</p>
      
       <div class="h4">
   
  @@ -75,12 +75,12 @@
     &lt;target name="meta" description="Generates the XML descriptors" depends="build"&gt;
       &lt;mkdir dir="${meta.dir}" /&gt;
       &lt;taskdef name="meta" classname="org.apache.avalon.meta.tools.ant.MetaTask"&gt;
  - &lt;classpath refid="project.class.path" /&gt;
  +      &lt;classpath refid="project.class.path" /&gt;
       &lt;/taskdef&gt;
       &lt;meta destDir="${meta.dir}" format="xml"&gt;
  - &lt;fileset dir="${src}"&gt;
  -   &lt;include name="**/*.java"/&gt;
  - &lt;/fileset&gt;
  +      &lt;fileset dir="${src}"&gt;
  +         &lt;include name="**/*.java"/&gt;
  +      &lt;/fileset&gt;
       &lt;/meta&gt;
     &lt;/target&gt;
   </pre>
  @@ -112,10 +112,9 @@
   /**
    * An example component containing meta info under javadoc tags.
    *
  - * @avalon.meta.name secondary-component
  - * @avalon.meta.version 2.4
  - * @avalon.meta.service type="SecondaryService:0.1"
  - * @avalon.meta.lifestyle singleton
  + * @avalon.component name="secondary-component"
  + *    version="2.4" lifestyle="singleton"
  + * @avalon.service type="SecondaryService" version="0.1"
    */
   public class Secondary extends AbstractLogEnabled 
     implements Serviceable, SecondaryService, Contextualizable
  @@ -127,33 +126,33 @@
      /**
       * Supply of a logging channel to the component.
       * @param logger the logging channel
  -    * @avalon.meta.logger name="system"
  +    * @avalon.logger name="system"
       */
       public void enableLogging( Logger logger )
       {
  -   super.enableLogging( logger );
  -   m_system = logger.getChildLogger( "system" );
  +      super.enableLogging( logger );
  +      m_system = logger.getChildLogger( "system" );
       }
   
      /**
       * Supply of the runtime context by the container.
       * @param context the runtime context
  -    * @avalon.meta.entry key="home" type="java.io.File"
  +    * @avalon.entry key="home" type="java.io.File"
       */
       public void contextualize( Context context ) throws ContextException
       {
  -   m_home = (File) context.get("home");
  +       m_home = (File) context.get("home");
       }    
   
      /**
       * Supply of dependent services to this component by the container.
       * @param manager the service manager
  -    * @avalon.meta.dependency type="PrimaryService" version="1.3" key="primary"
  +    * @avalon.dependency type="PrimaryService" version="1.3" key="primary"
       */
       public void service( ServiceManager manager ) throws ServiceException
       {
  -   m_primary = (PrimaryService) manager.lookup( "primary" );
  -   m_system.info( "resolved primary service reference" );
  +       m_primary = (PrimaryService) manager.lookup( "primary" );
  +       m_system.info( "resolved primary service reference" );
       }
   }
   </pre>
  
  
  

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


Mime
View raw message