On Mon, 20 Jan 2003, Angus McIntyre <[EMAIL PROTECTED]> wrote:

> am I correct in thinking that mappers are local to a task ... but
> their IDs are global?

Yes.

> What I've observed is that if I define a mapper with an 'id'
> attribute in one task, then I can use 'refid' to reference it within
> that same task, but if I try to reference it from elsewhere, I get
> errors telling me that I must specify at least type or classname
> (i.e. the mapper isn't identifiable/usable outside the task where it
> was defined).

Ant 1.5.1?  I vaguely remember fixing a bug with just this symptoms.
Do you have a simple example that exposes this bug?

> I think that if mappers become more complex, it would be good to be
> able to define them globally at the project level, and then
> reference them from within tasks.

This should be possible right now.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to