Commit e5b4927
committed
Enhance stack trace information for rule conflicts in BuildManager
Fixes #2278
When a builder attempts to begin or end a scheduling rule that doesn't
match the outer scope rule, the error message now includes:
- Builder name and label
- Builder class name
- Plugin ID
- Project name
- The conflicting rule
This makes it much easier to identify which builder is causing the
rule mismatch, especially in complex build scenarios with multiple
builders.
The enhancement catches IllegalArgumentException at the point where
beginRule() and endRule() are called in BuildManager.basicBuild() and
wraps it with detailed context before re-throwing.1 parent 3e8e40e commit e5b4927
File tree
1 file changed
+46
-2
lines changed- resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/events
1 file changed
+46
-2
lines changedLines changed: 46 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
292 | 314 | | |
293 | 315 | | |
294 | 316 | | |
| |||
303 | 325 | | |
304 | 326 | | |
305 | 327 | | |
306 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
307 | 351 | | |
308 | 352 | | |
309 | 353 | | |
| |||
0 commit comments