ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <jochen.wiedm...@freenet.de>
Subject Re: Unresolved compilation problem - why?
Date Fri, 02 Jul 2004 09:54:35 GMT
Dominique Devienne wrote:

> Hmmm, I don't know. Not very helpful, uh ;-)
> 
> But really, is using reflection mandatory here? Why can't your custom task
> can compile directly against the Schema class? You'd probably get much more
> explicit errors than the ones the VM gives you at runtime.
> 
> I've very rarelly needed to do reflection in custom task, so before going
> any further, please confirm it's absolutely necessary, even the why if it's
> not asking too much. Thanks, --DD

The custom class is a generator, that instantiates the class (which 
implements a certain interface), invokes a certain method, and generates 
Java sources based on the result. In other words: Yes, I think reflection is 
mandatory.


Regards,

Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message