git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270742 13f79535-47bb-0310-9956-ffa450edef68master
@@ -473,6 +473,8 @@ Legal: | |||||
</fileset> | </fileset> | ||||
<template templateFile="${manifest.dir}/core-ant-descriptor.template" | <template templateFile="${manifest.dir}/core-ant-descriptor.template" | ||||
destinationfile="core-ant-descriptor.xml"/> | destinationfile="core-ant-descriptor.xml"/> | ||||
<template templateFile="${manifest.dir}/builtin-ant-roles.template" | |||||
destinationfile="builtin-ant-roles.xml"/> | |||||
</xdoclet> | </xdoclet> | ||||
</target> | </target> | ||||
@@ -22,6 +22,7 @@ package org.apache.myrmidon.api; | |||||
* The Components passed in via ComponentManager are determined by container. | * The Components passed in via ComponentManager are determined by container. | ||||
* | * | ||||
* @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
* @ant:role shorthand="task" | |||||
*/ | */ | ||||
public interface Task | public interface Task | ||||
{ | { | ||||
@@ -18,6 +18,7 @@ import org.apache.myrmidon.api.TaskException; | |||||
* | * | ||||
* @author <a href="mailto:conor@apache.org">Conor MacNeill</a> | * @author <a href="mailto:conor@apache.org">Conor MacNeill</a> | ||||
* @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
* @ant:role shorthand="aspect" | |||||
*/ | */ | ||||
public interface AspectHandler | public interface AspectHandler | ||||
{ | { | ||||
@@ -12,6 +12,7 @@ package org.apache.myrmidon.framework; | |||||
* as stand alone data types. | * as stand alone data types. | ||||
* | * | ||||
* @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
* @ant:role shorthand="data-type" | |||||
*/ | */ | ||||
public interface DataType | public interface DataType | ||||
{ | { | ||||
@@ -14,6 +14,7 @@ import org.apache.myrmidon.interfaces.model.Project; | |||||
* Interface implemented by components that build projects from sources. | * Interface implemented by components that build projects from sources. | ||||
* | * | ||||
* @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
* @ant:role shorthand="project-builder" | |||||
*/ | */ | ||||
public interface ProjectBuilder | public interface ProjectBuilder | ||||
extends Component | extends Component | ||||
@@ -12,6 +12,7 @@ package org.apache.myrmidon.listeners; | |||||
* notification of project status. | * notification of project status. | ||||
* | * | ||||
* @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
* @ant:role shorthand="listener" | |||||
*/ | */ | ||||
public interface ProjectListener | public interface ProjectListener | ||||
{ | { | ||||
@@ -0,0 +1,8 @@ | |||||
<roles> | |||||
<XDtClass:forAllClasses abstract="true"> | |||||
<XDtClass:ifHasClassTag tagName="ant:role"> | |||||
<role shorthand="<XDtClass:classTagValue tagName="ant:role" paramName="shorthand"/>" | |||||
name="<XDtClass:fullClassName/>"/> | |||||
</XDtClass:ifHasClassTag> | |||||
</XDtClass:forAllClasses> | |||||
</roles> |