Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
type not supported by task?

type not supported by task?

2005-06-08       - By Eric Tchepannou
Reply:     1     2     3     4     5     6  

Hello,

I am developing an ant task extension but face problems to have it
running from the buildfile. I get an error stating that a certain
custom type of mine is not supported by my task.

I think I know where the problem might come from:
I have implemented multiple types that I have defined as extension of
a base abstract class (that implements an interface) and in my Task
extension I have defined an addConfigured(BaseTypeClass o) and do the
casting in the method implementation.
Could this be the source of the problem?
Should I rather for each type subclass implement a
addConfigured(TypeSubclass o)?

...or do you think the the problem somewhere else?

My next step will be to test this, but as this might be a time
consuming typing job, I thought I could count on your previous
experiences.

Many thanks for your contributions.

--
Best Regards,
Eric Tchepannou

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.