| Summary: | Incremental build produces an additional missing EE description marker for each build | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | API Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | curtis.windatt.public, daniel_megert, Olivier_Thomann, remy.suen |
| Version: | 3.8 | ||
| Target Milestone: | 3.8 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Michael Rennie
I guess we simply don't clean up the existing marker. I'll take a look. (In reply to comment #1) > I guess we simply don't clean up the existing marker. > I'll take a look. I have a fix, but git won't seem to let me push it to master *or* create a patch for it. The fix is to add the following snippet to our cleanupUsageMarkers(..) method: if(resource.getType() != IResource.PROJECT) { IProject pj = resource.getProject(); if(pj != null) { pj.deleteMarkers(IApiMarkerConstants.API_USAGE_PROBLEM_MARKER, false, IResource.DEPTH_ZERO); } } (In reply to comment #2) > I have a fix, but git won't seem to let me push it to master *or* create a > patch for it. Did you commit your changes? You can't make a patch unless you've committed your changes to your branch. (In reply to comment #3) > (In reply to comment #2) > > I have a fix, but git won't seem to let me push it to master *or* create a > > patch for it. > > Did you commit your changes? You can't make a patch unless you've committed > your changes to your branch. Yup, I committed to my local repo and am met with an NPE each time I use the patch wizard for git. I tried sync'ing and another pull + merge but it still will not allow me to push to master. Created bug 355732 for the NPEs. Use the git command line tool to commit and push your change. It appears that my fix made it into master somehow...marking this fixed now. Verified in I20110913-2000 |