--- 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
> possib
Yes, that's what I saw.
. BuildFinished event is not raised by subproject, only by main
project. Only BuildListeners added to the main project will receive
it.
. A listener that is created in a subproject cannot listen to
BuildFinished event as it won't be registered in the main project.
. SubBuild
Try reading this: http://ant.apache.org/manual/develop.html#buildevents
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Patrick Martin <[EMAIL PROTECTED]> wrote on 07/28/2005 05:34:54 AM:
> Hello,
>
> I am writing a task that
> >
> > [1]
> > http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties
> > [2]
> > http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/CallTarget.java?view=annotate
> >
> > >-
src/main/org/apache/tools/ant/taskdefs/defaults.properties
> [2]
> http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/CallTarget.java?view=annotate
>
> >-Ursprüngliche Nachricht-
> >Von: Patrick Martin [mailto:[EMAIL PROTECTED]
> >Gesende
/defaults.properties
[2]
http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/CallTarget.java?view=annotate
>-Ursprüngliche Nachricht-
>Von: Patrick Martin [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 28. Juli 2005 11:35
>An: Ant User
>Betreff: No BuildFi
Hello,
I am writing a task that runs tasks in background and listens to build
events in order to make sure background threads finish before the
build ends (as suggested in [1]).
The trick works perfectly well when running the task in the main
project, but I never get the BuildFinished event when