Passing a PropertySet with a <mapper> allows me to pass collections of
properties and have the actual parameter names different from the formal
parameter names.
-----Original Message-----
From: Matt Benson [mailto:gudnabrsam@yahoo.com]
Sent: Wednesday, September 01, 2004 1:13 PM
To: Ant Users List
Subject: RE: PropertySet use in macro
--- Dominique Devienne <DDevienne@lgc.com> wrote:
[SNIP]
> It's a bit like <javac
> attributefile="some-file.properties" />
> With some-file.properties that contains:
> debug = true
> listfiles = false
> And automagically it's equivalent to
> <javac debug="true" listfiles="false" />
>
> Very obscure and weird in fact. No, I don't like it.
> Not sure if I'd be -1 yet, but I'm pretty close.
Weird, yes... I said it was insane. But it doesn't
look like it would be particularly dangerous to anyone
who didn't want to use it. To keep things in
perspective, I will say that I think local properties
would allow you to do most if not all of what you
could do with this. So if we get local properties
this becomes unimportant.
-Matt
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|