commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hang Sun (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Created: (JELLY-228) AntTag.createDataType() throws ClassCastException
Date Sat, 22 Apr 2006 05:10:05 GMT
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


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


Mime
View raw message