ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Listener/AspectHandler parameters
Date Mon, 11 Jun 2001 08:19:34 GMT
At 09:41 AM 6/11/01 +0200, Stefan Bodewig wrote:
>Peter Donald <donaldp@apache.org> wrote:
>
>> I have just been experimenting with Listeners/AspectHandlers and
>> have found an issue. I originally made it so that they were
>> configured in the same manner that tasks/datatypes are configured
>> (ie via addFoo()/setFoo()/createFoo()). However this limits it's
>> usefulness when invoked from CLI.
>
>Couldn't that be solved via the user preferences mechanism?  I mean,
>user preferences will give you much more than just a flat name-value
>space to configure something.

Possibly - but I couldn't figure out a decent mechanism to keep it usable.
ie How do we allow overiding of value froms CLI and still setting complex
properties (ie nested elements etc) from XML or CSS or whatever?

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message