Bug 361267 - Build path problems are not recreated with clean + full build
Summary: Build path problems are not recreated with clean + full build
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 11:21 EDT by Dani Megert CLA
Modified: 2023-02-21 11:39 EST (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 Dani Megert CLA 2011-10-18 11:21:07 EDT
R3.4.

Build path problems are not recreated with clean + full build.

Noticed while testing the fix for bug 287164 but also happens with existing build path problems.

1. start new workspace
2. create Java project 'A' and 'B'
3. add 'A' to the build path of 'B'
4. add 'B' to the build path of 'A'
==> cycles are reported
5. delete all markers from the 'Problems' view
6. do a clean + full build
==> markers don't come back
Comment 1 Ayushman Jain CLA 2011-10-18 11:39:45 EDT
I think the markers don't come back because building A depends on building B and vice versa. So in this scenario, the build doesn't complete and we bail out of a loop.

I do see a new marker for both projects:

The project cannot be built until its prerequisite B is built. Cleaning and building all projects is recommended
Comment 2 Srikanth Sankaran CLA 2011-10-20 08:27:56 EDT
See bug 287164 comment 60
Comment 3 Srikanth Sankaran CLA 2011-11-10 00:59:23 EST
(In reply to comment #2)
> See bug 287164 comment 60

Dani, Per rationale above, it would appear this is intentional per design.
I would close this as such - do you disagree ?
Comment 4 Dani Megert CLA 2011-11-10 02:25:23 EST
(In reply to comment #3)
> (In reply to comment #2)
> > See bug 287164 comment 60
> 
> Dani, Per rationale above, it would appear this is intentional per design.

That design was OK back in the old days. Unfortunately, one can delete markers from the Problems view these days. Therefore we also need to have a way to bring those back. In addition, those markers are really build related markers and since 'Clean' states: "Clean will discard all build problems and built states.", we should also remove those markers when cleaning to have a consistent story.

We don't have to fix this bug right now, but keep it open with low priority.
Comment 5 Eclipse Genie CLA 2019-03-01 13:28:50 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Dani Megert CLA 2019-03-02 03:29:14 EST
This is still a bad bug that can be reproduced in 4.11 RC1.

The bad part about this is that the user
- does not get the red ! on the projects
  ==> does not know/expect a build path problem
- there is no error reported for the cycles
  ==> the user has no means to fix the probem
Comment 7 Eclipse Genie CLA 2021-02-20 05:42:06 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 8 Eclipse Genie CLA 2023-02-21 11:39:30 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.