--- Patrick Martin <[EMAIL PROTECTED]> wrote:
[SNIP]
> I want my listener to be notified on BuildFinished
> event, even if
> created in a subproject.
> The only solution I see is to be able to add a build
> listener to the
> main project from a subproject task. But I don't
> know if that's
> possible as I cannot find any reference to the main
> project anywhere..
> 

Hmmm.  Might be nice to add set/getParent methods to
Project.  Since future versions of Ant will internally
use a new factory method to obtain subProject
instances it should as reliable as anything. 
Unfortunately that doesn't help you much now...

-Matt



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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

Reply via email to