git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271492 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to boolean converter | * String to boolean converter | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to byte converter | * String to byte converter | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to class converter | * String to class converter | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to double converter | * String to double converter | ||||
| @@ -13,8 +13,8 @@ import java.util.Arrays; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to Enum converter | * String to Enum converter | ||||
| @@ -12,8 +12,8 @@ import org.apache.avalon.excalibur.i18n.ResourceManager; | |||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.myrmidon.api.TaskContext; | import org.apache.myrmidon.api.TaskContext; | ||||
| import org.apache.myrmidon.api.TaskException; | import org.apache.myrmidon.api.TaskException; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to file converter | * String to file converter | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to float converter | * String to float converter | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to integer converter. | * String to integer converter. | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to long converter | * String to long converter | ||||
| @@ -10,8 +10,8 @@ package org.apache.antlib.core; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to short converter | * String to short converter | ||||
| @@ -12,8 +12,8 @@ import java.net.URL; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * String to url converter | * String to url converter | ||||
| @@ -13,8 +13,8 @@ import org.apache.avalon.excalibur.i18n.ResourceManager; | |||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.api.TaskContext; | import org.apache.myrmidon.api.TaskContext; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| /** | /** | ||||
| * Converts a String to a {@link FileObject} | * Converts a String to a {@link FileObject} | ||||
| @@ -5,7 +5,7 @@ | |||||
| * version 1.1, a copy of which has been included with this distribution in | * version 1.1, a copy of which has been included with this distribution in | ||||
| * the LICENSE.txt file. | * the LICENSE.txt file. | ||||
| */ | */ | ||||
| package org.apache.myrmidon.converter; | |||||
| package org.apache.aut.converter; | |||||
| import org.apache.avalon.excalibur.i18n.ResourceManager; | import org.apache.avalon.excalibur.i18n.ResourceManager; | ||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| @@ -49,7 +49,7 @@ public abstract class AbstractConverter | |||||
| public Object convert( final Class destination, | public Object convert( final Class destination, | ||||
| final Object original, | final Object original, | ||||
| final Object context ) | final Object context ) | ||||
| throws ConverterException | |||||
| throws org.apache.aut.converter.ConverterException | |||||
| { | { | ||||
| if( m_destination != destination ) | if( m_destination != destination ) | ||||
| { | { | ||||
| @@ -74,9 +74,9 @@ public abstract class AbstractConverter | |||||
| * @param original the original Object | * @param original the original Object | ||||
| * @param context the context in which to convert | * @param context the context in which to convert | ||||
| * @return the converted object | * @return the converted object | ||||
| * @exception ConverterException if an error occurs | |||||
| * @exception org.apache.aut.converter.ConverterException if an error occurs | |||||
| */ | */ | ||||
| protected abstract Object convert( Object original, Object context ) | protected abstract Object convert( Object original, Object context ) | ||||
| throws ConverterException; | |||||
| throws org.apache.aut.converter.ConverterException; | |||||
| } | } | ||||
| @@ -5,7 +5,7 @@ | |||||
| * version 1.1, a copy of which has been included with this distribution in | * version 1.1, a copy of which has been included with this distribution in | ||||
| * the LICENSE.txt file. | * the LICENSE.txt file. | ||||
| */ | */ | ||||
| package org.apache.myrmidon.converter; | |||||
| package org.apache.aut.converter; | |||||
| /** | /** | ||||
| * Instances of this interface are used to convert between different types. | * Instances of this interface are used to convert between different types. | ||||
| @@ -5,7 +5,7 @@ | |||||
| * version 1.1, a copy of which has been included with this distribution in | * version 1.1, a copy of which has been included with this distribution in | ||||
| * the LICENSE.txt file. | * the LICENSE.txt file. | ||||
| */ | */ | ||||
| package org.apache.myrmidon.converter; | |||||
| package org.apache.aut.converter; | |||||
| import org.apache.avalon.framework.CascadingException; | import org.apache.avalon.framework.CascadingException; | ||||
| @@ -21,7 +21,7 @@ import org.apache.avalon.framework.configuration.ConfigurationException; | |||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.avalon.framework.logger.AbstractLogEnabled; | import org.apache.avalon.framework.logger.AbstractLogEnabled; | ||||
| import org.apache.avalon.framework.logger.LogEnabled; | import org.apache.avalon.framework.logger.LogEnabled; | ||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.myrmidon.interfaces.configurer.Configurer; | import org.apache.myrmidon.interfaces.configurer.Configurer; | ||||
| import org.apache.myrmidon.interfaces.converter.MasterConverter; | import org.apache.myrmidon.interfaces.converter.MasterConverter; | ||||
| @@ -14,8 +14,8 @@ import org.apache.avalon.framework.component.ComponentManager; | |||||
| import org.apache.avalon.framework.component.Composable; | import org.apache.avalon.framework.component.Composable; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.avalon.framework.logger.AbstractLogEnabled; | import org.apache.avalon.framework.logger.AbstractLogEnabled; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | ||||
| import org.apache.myrmidon.interfaces.converter.MasterConverter; | import org.apache.myrmidon.interfaces.converter.MasterConverter; | ||||
| import org.apache.myrmidon.interfaces.type.TypeException; | import org.apache.myrmidon.interfaces.type.TypeException; | ||||
| @@ -17,7 +17,7 @@ import org.apache.avalon.framework.component.ComponentException; | |||||
| import org.apache.avalon.framework.component.ComponentManager; | import org.apache.avalon.framework.component.ComponentManager; | ||||
| import org.apache.avalon.framework.component.Composable; | import org.apache.avalon.framework.component.Composable; | ||||
| import org.apache.avalon.framework.logger.AbstractLogEnabled; | import org.apache.avalon.framework.logger.AbstractLogEnabled; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | ||||
| import org.apache.myrmidon.interfaces.deployer.ConverterDefinition; | import org.apache.myrmidon.interfaces.deployer.ConverterDefinition; | ||||
| import org.apache.myrmidon.interfaces.deployer.Deployer; | import org.apache.myrmidon.interfaces.deployer.Deployer; | ||||
| @@ -14,8 +14,8 @@ import org.apache.avalon.framework.configuration.ConfigurationException; | |||||
| import org.apache.myrmidon.api.AbstractTask; | import org.apache.myrmidon.api.AbstractTask; | ||||
| import org.apache.myrmidon.api.TaskContext; | import org.apache.myrmidon.api.TaskContext; | ||||
| import org.apache.myrmidon.api.TaskException; | import org.apache.myrmidon.api.TaskException; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.myrmidon.interfaces.configurer.Configurer; | import org.apache.myrmidon.interfaces.configurer.Configurer; | ||||
| import org.apache.myrmidon.interfaces.converter.MasterConverter; | import org.apache.myrmidon.interfaces.converter.MasterConverter; | ||||
| import org.apache.myrmidon.interfaces.executor.Executor; | import org.apache.myrmidon.interfaces.executor.Executor; | ||||
| @@ -8,7 +8,7 @@ | |||||
| package org.apache.myrmidon.interfaces.converter; | package org.apache.myrmidon.interfaces.converter; | ||||
| import org.apache.avalon.framework.component.Component; | import org.apache.avalon.framework.component.Component; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.aut.converter.Converter; | |||||
| /** | /** | ||||
| * Master Converter to handle converting between types. | * Master Converter to handle converting between types. | ||||
| @@ -8,8 +8,8 @@ | |||||
| package org.apache.tools.ant.types.converters; | package org.apache.tools.ant.types.converters; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.tools.ant.types.Path; | import org.apache.tools.ant.types.Path; | ||||
| /** | /** | ||||
| @@ -28,7 +28,7 @@ import org.apache.myrmidon.components.extensions.DefaultExtensionManager; | |||||
| import org.apache.myrmidon.components.role.DefaultRoleManager; | import org.apache.myrmidon.components.role.DefaultRoleManager; | ||||
| import org.apache.myrmidon.components.service.DefaultServiceManager; | import org.apache.myrmidon.components.service.DefaultServiceManager; | ||||
| import org.apache.myrmidon.components.type.DefaultTypeManager; | import org.apache.myrmidon.components.type.DefaultTypeManager; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.myrmidon.interfaces.configurer.Configurer; | import org.apache.myrmidon.interfaces.configurer.Configurer; | ||||
| import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | ||||
| import org.apache.myrmidon.interfaces.converter.MasterConverter; | import org.apache.myrmidon.interfaces.converter.MasterConverter; | ||||
| @@ -7,8 +7,8 @@ | |||||
| */ | */ | ||||
| package org.apache.myrmidon.components.configurer; | package org.apache.myrmidon.components.configurer; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| /** | /** | ||||
| @@ -18,8 +18,8 @@ import org.apache.myrmidon.interfaces.role.RoleManager; | |||||
| import org.apache.myrmidon.interfaces.type.TypeFactory; | import org.apache.myrmidon.interfaces.type.TypeFactory; | ||||
| import org.apache.myrmidon.interfaces.type.TypeManager; | import org.apache.myrmidon.interfaces.type.TypeManager; | ||||
| import org.apache.myrmidon.interfaces.type.TypeException; | import org.apache.myrmidon.interfaces.type.TypeException; | ||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import java.io.File; | import java.io.File; | ||||
| /** | /** | ||||
| @@ -7,8 +7,8 @@ | |||||
| */ | */ | ||||
| package org.apache.myrmidon.components.deployer; | package org.apache.myrmidon.components.deployer; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| /** | /** | ||||
| @@ -28,7 +28,7 @@ import org.apache.myrmidon.components.extensions.DefaultExtensionManager; | |||||
| import org.apache.myrmidon.components.role.DefaultRoleManager; | import org.apache.myrmidon.components.role.DefaultRoleManager; | ||||
| import org.apache.myrmidon.components.service.DefaultServiceManager; | import org.apache.myrmidon.components.service.DefaultServiceManager; | ||||
| import org.apache.myrmidon.components.type.DefaultTypeManager; | import org.apache.myrmidon.components.type.DefaultTypeManager; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.myrmidon.interfaces.configurer.Configurer; | import org.apache.myrmidon.interfaces.configurer.Configurer; | ||||
| import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | import org.apache.myrmidon.interfaces.converter.ConverterRegistry; | ||||
| import org.apache.myrmidon.interfaces.converter.MasterConverter; | import org.apache.myrmidon.interfaces.converter.MasterConverter; | ||||
| @@ -7,8 +7,8 @@ | |||||
| */ | */ | ||||
| package org.apache.myrmidon.components.configurer; | package org.apache.myrmidon.components.configurer; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| /** | /** | ||||
| @@ -18,8 +18,8 @@ import org.apache.myrmidon.interfaces.role.RoleManager; | |||||
| import org.apache.myrmidon.interfaces.type.TypeFactory; | import org.apache.myrmidon.interfaces.type.TypeFactory; | ||||
| import org.apache.myrmidon.interfaces.type.TypeManager; | import org.apache.myrmidon.interfaces.type.TypeManager; | ||||
| import org.apache.myrmidon.interfaces.type.TypeException; | import org.apache.myrmidon.interfaces.type.TypeException; | ||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import java.io.File; | import java.io.File; | ||||
| /** | /** | ||||
| @@ -7,8 +7,8 @@ | |||||
| */ | */ | ||||
| package org.apache.myrmidon.components.deployer; | package org.apache.myrmidon.components.deployer; | ||||
| import org.apache.myrmidon.converter.Converter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.Converter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| /** | /** | ||||
| @@ -8,8 +8,8 @@ | |||||
| package org.apache.tools.ant.types.converters; | package org.apache.tools.ant.types.converters; | ||||
| import org.apache.avalon.framework.context.Context; | import org.apache.avalon.framework.context.Context; | ||||
| import org.apache.myrmidon.converter.AbstractConverter; | |||||
| import org.apache.myrmidon.converter.ConverterException; | |||||
| import org.apache.aut.converter.AbstractConverter; | |||||
| import org.apache.aut.converter.ConverterException; | |||||
| import org.apache.tools.ant.types.Path; | import org.apache.tools.ant.types.Path; | ||||
| /** | /** | ||||