git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271084 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -15,11 +15,11 @@ import org.apache.myrmidon.interfaces.deployer.TypeDefinition; | |||||
| * Task to define a converter. | * Task to define a converter. | ||||
| * | * | ||||
| * @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
| * @ant:task name="converter-def" | |||||
| */ | */ | ||||
| public class ConverterDef | public class ConverterDef | ||||
| extends AbstractTypeDef | extends AbstractTypeDef | ||||
| { | { | ||||
| protected TypeDefinition createTypeDefinition() | protected TypeDefinition createTypeDefinition() | ||||
| { | { | ||||
| return new ConverterDefinition(); | return new ConverterDefinition(); | ||||
| @@ -22,6 +22,7 @@ import org.apache.myrmidon.interfaces.type.TypeFactory; | |||||
| * Task that definesMethod to register a single converter. | * Task that definesMethod to register a single converter. | ||||
| * | * | ||||
| * @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
| * @ant:task name="facility" | |||||
| */ | */ | ||||
| public class Facility | public class Facility | ||||
| extends AbstractContainerTask | extends AbstractContainerTask | ||||
| @@ -20,6 +20,7 @@ import org.apache.myrmidon.interfaces.deployer.TypeDeployer; | |||||
| * Task to import a tasklib. | * Task to import a tasklib. | ||||
| * | * | ||||
| * @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
| * @ant:task name="import" | |||||
| */ | */ | ||||
| public class Import | public class Import | ||||
| extends AbstractTask | extends AbstractTask | ||||
| @@ -46,7 +47,7 @@ public class Import | |||||
| try | try | ||||
| { | { | ||||
| final Deployer deployer = (Deployer)getService( Deployer.class ); | final Deployer deployer = (Deployer)getService( Deployer.class ); | ||||
| TypeDeployer typeDeployer = deployer.createDeployer( m_lib ); | |||||
| final TypeDeployer typeDeployer = deployer.createDeployer( m_lib ); | |||||
| typeDeployer.deployAll(); | typeDeployer.deployAll(); | ||||
| } | } | ||||
| catch( final DeploymentException de ) | catch( final DeploymentException de ) | ||||
| @@ -15,11 +15,11 @@ import org.apache.myrmidon.interfaces.deployer.TypeDefinition; | |||||
| * Task to define a type. | * Task to define a type. | ||||
| * | * | ||||
| * @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
| * @ant:task name="type-def" | |||||
| */ | */ | ||||
| public class TypeDef | public class TypeDef | ||||
| extends AbstractTypeDef | extends AbstractTypeDef | ||||
| { | { | ||||
| protected TypeDefinition createTypeDefinition() | protected TypeDefinition createTypeDefinition() | ||||
| { | { | ||||
| return new GeneralTypeDefinition(); | return new GeneralTypeDefinition(); | ||||