| Summary: | No problem generated when missing output.<lib> entry | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Darin Wright <darin.eclipse> | ||||||
| Component: | UI | Assignee: | Ankur Sharma <ankur_sharma> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | curtis.windatt.public | ||||||
| Version: | 3.6 | Flags: | ankur_sharma:
review+
curtis.windatt.public: review+ |
||||||
| Target Milestone: | 3.6 RC2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 309157, 313564 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Darin Wright
3.6 RC1 * Check out "org.eclipse.debug.examples.core" from CVS * open build.properties * delete the "output.." entry No problem is generated, but there should be a warning for the missing output entry. When I try a similar thing with "org.eclipse.debug.core" and delete the output.core entry, I get a warning that there is no output for the "core" source folder. Investigate for RC2. I tried on N20100517-2000 and saw the marker getting generated after turning the preference on (to error or warning). Source folder 'pdavm/src/, src_ant/' does not have the output folder in corresponding output entry 'output..'. However, it misses "src/". Investigating. Created attachment 168903 [details]
Patch
With this patch, and the steps in comment#1, I still see no problem generated. The project uses default settings, which is a "warning" severity. Created attachment 169015 [details]
patch
Here's an alternative patch. The fix was working - I was mislead by the fact there are two preferences that pertain to output.<entries>. Indeed, I had the severity level set to ignore.
This patch cleans up the the implementation of MissingOutputEntry a bit. It avoids the client from knowing about the internals, checking for contains, etc. If we going to use a local class for convenience/OO reasons, we might as well let the object do as much as it can internally.
Ankur, please review.
+1 +1 Fixed in HEAD. Verified. |