On 9/4/06, Brett Porter <[EMAIL PROTECTED]> wrote:
If you've done the work, go ahead and submit a patch. I think I'll find the code easier to read than this mail :)
Done. Yeah, the email was verbose but the code changes were simple once I found where the reactor was located. I think we definitely need a solution to being able to know in
advance of the build, how all the source directories, etc will be bound in (Milos has been asking for this in the Netbeans integration for some time too). Hopefully this will help.
I can imagine wanting to plug into maven before it gets going and after it has stopped. The current patch only handles the initialization phase but it would not be too much more to add a finalization phase too. I doubt it would be possible/practical to try and know how everything will eventually shake out ahead of time. Instead it would be more practical to allow plugins/external entities to register as framework listeners and notify them of certain events. Thus if a new source root is added the IDE could be informed and it could take the appropriate action, whatever that is. Wb