| Summary: | Do not generate a project if the EDT compiler threw an exception | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Brian Svihovec <svihovec> | ||||
| Component: | EDT | Assignee: | Justin Spadea <jspadea> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jspadea | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Brian Svihovec
Created attachment 203188 [details]
CVS Patch.
I have attached a patch that will keep the Generation Builder from running if the EDT Builder encounters an unexpected runtime exception for the current project, or any projects on the current project's EGLPath. I added a new type of EDT Problem, called EDT Build Problem, which is created whenever the builder handles an unexpected exception. The Generation builder now detects this new type of problem and will not run if the problem is present. NOTE: I had originally tried having the Generation Builder just check the Build State of the projects, instead of adding a new problem type, but this resulted in the wrong type of messages being reported for the current project if a dependent project contained the runtime exception. In this situation, both the dependent project and the current project will have invalid build states, so both projects were reporting that they were not generated due to an unexpected build problem. With a new problem type, we are now able to report that the dependent project was not generated because it contains an unexpected build problem, and that the current project was not generated because a dependent project contains an unexpected build problem. I've applied your patch with one change: I made Builder.isWorthBuilding() also create a marker of type BUILD_PROBLEM instead of just PROBLEM. This defect was fixed at least 2 months ago, so I am closing. |