You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/09/11 09:51:12 UTC
cvs commit: avalon-sandbox/meta/tools/src/java/org/apache/avalon/meta/info/ant package.html
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 @@
<target name="meta" description="Generates the XML descriptors" depends="build">
<mkdir dir="${meta.dir}" />
<taskdef name="meta" classname="org.apache.avalon.meta.tools.ant.MetaTask">
- <classpath refid="project.class.path" />
+ <classpath refid="project.class.path" />
</taskdef>
<meta destDir="${meta.dir}" format="xml">
- <fileset dir="${src}">
- <include name="**/*.java"/>
- </fileset>
+ <fileset dir="${src}">
+ <include name="**/*.java"/>
+ </fileset>
</meta>
</target>
</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