Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 40490 - Scoped external tool builder not triggered if change in different project
Summary: Scoped external tool builder not triggered if change in different project
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-18 14:09 EDT by Darin Swanson CLA
Modified: 2003-08-08 12:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2003-07-18 14:09:36 EDT
If the working set for an external tool builder is set to a resource in a 
different project, the external tool builder is not triggered.
Comment 1 Darin Swanson CLA 2003-07-21 13:39:11 EDT
Fixed in ExternalToolBuilder BUT (and it is a big BUT), this will only work for 
the last scoped builder. This is a result of the workaround for bug 39713 
(which is a workaround for bug 21029). See these for full details, but 
basically we can only return the interesting projects for a single builder even 
thought many builders are building.

Darin can you verify that this works in the simple (normal?) case (one scoped 
builder), and then we will likely have to mark as a readme item.
Comment 2 Darin Swanson CLA 2003-07-21 13:41:40 EDT
Readme item: Only one builder will work correctly if builders are scoped to 
include resource changes in other projects.
Comment 3 John Arthorne CLA 2003-07-21 13:50:49 EDT
Couldn't you return in the "interesting projects" array the union of the
interesting projects (build scopes) for all external builders on that project? 
That way you would be allowed to request deltas for all of those projects and
you would then be called whenever any of those projects changed.
Comment 4 Darin Swanson CLA 2003-07-21 13:57:30 EDT
Yep...thanks John.
Comment 5 Darin Swanson CLA 2003-07-21 14:13:14 EDT
So forget everything I rambled on about the multiple builders not working.
Fixed in ExternalToolBuilder.
Comment 6 Darin Swanson CLA 2003-07-21 14:13:35 EDT
Please verify DarinW.
Comment 7 Darin Swanson CLA 2003-07-21 15:25:01 EDT
Sorry, this is still not working correctly.
Comment 8 Jared Burns CLA 2003-07-22 15:02:09 EDT
Fixed an NPE in this code.
Comment 9 Darin Swanson CLA 2003-08-04 17:07:44 EDT
Please verify Jared.
Comment 10 Jared Burns CLA 2003-08-08 12:45:34 EDT
Verified.