git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271978 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -35,7 +35,7 @@ import org.apache.myrmidon.components.converter.DefaultMasterConverter; | |||||
| * @author <a href="mailto:peter@apache.org">Peter Donald</a> | * @author <a href="mailto:peter@apache.org">Peter Donald</a> | ||||
| * @version $Revision$ $Date$ | * @version $Revision$ $Date$ | ||||
| */ | */ | ||||
| public class AbstractMasterConverter | |||||
| public abstract class AbstractMasterConverter | |||||
| implements Converter | implements Converter | ||||
| { | { | ||||
| private final static Resources REZ = | private final static Resources REZ = | ||||
| @@ -1,2 +1,8 @@ | |||||
| bad-destination.error=Destination type ({0}) is not equal to {1}. | bad-destination.error=Destination type ({0}) is not equal to {1}. | ||||
| bad-instance.error=Object {0} is not an instance of {1}. | bad-instance.error=Object {0} is not an instance of {1}. | ||||
| #AbstractMasterConverter | |||||
| convert.error=Could not convert from {0} to {1}. | |||||
| no-converter.error=Could not find an appropriate converter. | |||||
| bad-return-type.error=Converter {0} returned an object of type {1} which is assignable to the expected type {2}. | |||||
| ambiguous-converter.error=More than one converter available for this conversion. | |||||
| @@ -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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import java.io.File; | import java.io.File; | ||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| @@ -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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import org.apache.aut.converter.ConverterException; | ||||
| @@ -5,10 +5,11 @@ | |||||
| * 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import org.apache.aut.converter.ConverterException; | ||||
| import org.apache.aut.converter.lib.StringToFloatConverter; | |||||
| 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; | ||||
| @@ -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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import org.apache.aut.converter.AbstractConverter; | import org.apache.aut.converter.AbstractConverter; | ||||
| import org.apache.aut.converter.ConverterException; | import 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.antlib.core; | |||||
| package org.apache.aut.converter.lib; | |||||
| import java.net.MalformedURLException; | import java.net.MalformedURLException; | ||||
| import java.net.URL; | import java.net.URL; | ||||
| @@ -1,4 +0,0 @@ | |||||
| convert.error=Could not convert from {0} to {1}. | |||||
| no-converter.error=Could not find an appropriate converter. | |||||
| bad-return-type.error=Converter {0} returned an object of type {1} which is assignable to the expected type {2}. | |||||
| ambiguous-converter.error=More than one converter available for this conversion. | |||||
| @@ -8,7 +8,7 @@ | |||||
| package org.apache.myrmidon.components.configurer.test; | package org.apache.myrmidon.components.configurer.test; | ||||
| import java.io.File; | import java.io.File; | ||||
| import org.apache.antlib.core.StringToIntegerConverter; | |||||
| import org.apache.aut.converter.lib.StringToIntegerConverter; | |||||
| import org.apache.avalon.excalibur.i18n.Resources; | import org.apache.avalon.excalibur.i18n.Resources; | ||||
| import org.apache.avalon.framework.ExceptionUtil; | import org.apache.avalon.framework.ExceptionUtil; | ||||
| import org.apache.avalon.framework.configuration.ConfigurationException; | import org.apache.avalon.framework.configuration.ConfigurationException; | ||||
| @@ -9,7 +9,7 @@ package org.apache.myrmidon.components.property.test; | |||||
| import java.io.File; | import java.io.File; | ||||
| import java.util.Date; | import java.util.Date; | ||||
| import org.apache.antlib.core.ObjectToStringConverter; | |||||
| import org.apache.aut.converter.lib.ObjectToStringConverter; | |||||
| 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; | ||||