| Summary: | [model] Spurious empty package if source folder is creating using exclusion filters | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Tobias Widmer <tobias_widmer> |
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | martinae |
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
|
Description
Tobias Widmer
reproduced, the package really is created at two locations (not a view problem). We're using root.createPackageFragment(packName, true, monitor) to create the package. I cannot reproduce using I20051213-0010. Please reopen if you have more details. Strange enough, the option to update the exclusion filters is disabled in I20051213-0010. Martin, is this by design? The scenario mentioned in comment 0 cannot be reproduced anymore. Actually, I was able to use the option to update the exclusion filters in the new source folder wizard. I said I could not reproduce because when I created the package 'x.y', it appeared below the source folder only in the Package Explorer, and no empty package appeared. No, there hasn't been any change. I can still reproduce it: 1. In the toolbar, invoke the 'New Java project' item 2. Enter a name 'P', Select 'Use project as root...', press OK 3. Select 'P' in Project explorer, properties, configure 4. On the Java Build Path page go to the source tab, Add Folder, enter name 'x' Press OK, on the dialog (want to remove project...) press 'No' 5. Select folder 'x' in package explorer, in the toolbar invoke 'New Java Package' 6. Enter package name 'a.b', press OK 7. Now have a look at the package explorer (and the resource navigator): They both contain elements P/a/b and P/x/a/b. To reproduce, you must have autobuild on. The extra empty package is in the output folder of the project. Need to see if this can/should be filtered out. Reproduced using 3.3RC4 We ran out of time. Deferring post 3.4 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. |