ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: XDocs Proposal
Date Wed, 27 Feb 2002 20:01:49 GMT
> These inner classes are ignored now.  Is it possible to have 
> an Ant task be an inner class?

My guess is that it would be difficult for a true inner class to be an Ant task, as you need
an outer instance to instantiate an inner class, and Ant doesn't know how to do that. I can't
remember whether there's any way of using a factory to instantiate tasks.

Nested top-level (ie static) classes could probably be tasks though...

JOn

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message