I have make a change to MacroInstance to check when macrodef.backtrace = false, and if so set the location of all the copied UEs to the MacroInstance.getLocation(). With this change, your test passes. Peter
On 9/11/06, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
Hi, I pushed setLocation down to ProjectComponent and added the reflection logic to TaskAdapter just to realize that it doesn't help. Most assertions are macrodef tasks and they always get their location set to the antlib descriptor they've been defined in, which is rather useless. I've committed a failing testcase if anybody wants to look into it. IMHO we should set each nested task's location to the one of the invocation, at least if backtrace is set to false. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]