Community
Participate
Working Groups
Build Identifier: I20110613-1736 I imported a bunch of packages from another project and they didn't add the proper package identifier. I corrected this and it showed that the package was not declared properly on the comment line at the top. As I was writing this report I noticed that it started reporting correctly but that was probably 5 minutes after the fact (not helpful). Reproducible: Always Steps to Reproduce: 1. Can't remember if used import manager or just copied data directly 2. Fix a package declaration (manually type the new declaration) 3. The problem doesn't claim to be fixed and it gives an option for fixed that changes the first couple line of the top line (where my comments are) to the package name (but not a proper package declaration).
Created attachment 206490 [details] Screen Shot before fixing it.
Created attachment 206491 [details] Screen Shot Eclipse still shows error after fixing
Created attachment 206492 [details] Screen Shot Eclipse auto-fix breaks my comments.
The 3 attachments are made in order of what I did. I know if I stop after step two it will eventually detect that I actually fixed the problem and stop showing the error.
(In reply to comment #2) > Created attachment 206491 [details] > Screen Shot Eclipse still shows error after fixing I think you had disabled 'Build Automatically'. Can you please confirm this? (In reply to comment #3) > Created attachment 206492 [details] > Screen Shot Eclipse auto-fix breaks my comments. Steps to reproduce - Enable 'Build Automatically' - Create a java file with missing package statement => error - Disable 'Build Automatically' - Add the package statement via quick fix or manually. => error remains because nothing is built - Use the quick fix again => Only the package name is added to the java file as shown in the screenshot.
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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.