Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
jdk1.5.0_02
Description
In my Maven 1.0.2 beta 2 env., I wrote following line:
<ant:typedef file="${agitar.eclipse.site.dir}/plugins/com.agitar.agitator_${agitar.build}/types.properties"
classpath="${agitar.eclipse.site.dir}/plugins/com.agitar.agitator_${agitar.build}/ant-task/agitator-tasks.jar"
loaderRef="agitarjar"/>
where types.properties includes 1 line:
dashboard-config=com.agitar.ant.SharedAntConfig
SharedAntConfig is a POJO and this seems to cause problem with the AntTag class, whose createDataType() method expects the data type be subclass of org.apache.tools.ant.types.DataType.
It seems to me that AntTag class should not make this assumption.