You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Hang Sun (JIRA)" <co...@jakarta.apache.org> on 2006/04/22 07:14:06 UTC

[jira] Updated: (JELLY-228) AntTag.createDataType() throws ClassCastException

     [ http://issues.apache.org/jira/browse/JELLY-228?page=all ]

Hang Sun updated JELLY-228:
---------------------------

    Attachment: JELLY-228.patch

Possible patch

> AntTag.createDataType() throws ClassCastException
> -------------------------------------------------
>
>          Key: JELLY-228
>          URL: http://issues.apache.org/jira/browse/JELLY-228
>      Project: jelly
>         Type: Bug

>   Components: taglib.ant
>  Environment: jdk1.5.0_02
>     Reporter: Hang Sun
>     Priority: Minor
>  Attachments: JELLY-228.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org