/services.list
This lists all the services that are defined in this jar.
/META-INF/services/my.class.Name
One entry for each service where there are implementations for a role. This follows the JAR services mechanism.
/my/class/Implementation.meta
There is one entry sitting right beside every implementation class. This holds all the meta information for the associated class. It is a simple properties file.
We have a couple of ANT tasks to make this really easy. If you add this to your ANT build script (customizing it to make it work in your environment), it will make your life alot easier:
<taskdef name="collect-metainfo" classname="org.apache.avalon.fortress.tools.ComponentMetaAntTask"> <classpath> <path refid="project.class.path"/> <pathelement path="${tools.dir}/guiapp-tools.jar"/> </classpath> </taskdef> <collect-metainfo destdir="${build.classes}"> <fileset dir="${src.dir}"/> </collect-metainfo>@author Avalon Development Team @version CVS $Revision: 1.12 $
|
|
|
|
|
|
|
|
|
|