| Summary: | [jar exporter] Wrong message when exporting Jar with compile errors | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Marvin Fröhlich <eclipse> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert |
| Version: | 3.6.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Marvin Fröhlich
This works as designed because the export finished and even exported the Java file which contains errors. Hence, we only display a warning. I guess, you're talking about the "Export classes with compile errors and warnings" flag, which I have enabled. If I disable it, there's still just a warning, but the erroneous class file is not in the jar. The situation is, that the jar doesn't contain a runnable copy of the application, which the user will certainly expect, if the IDE displayed no error, but just a warning. Hence there should be an error message with an error icon. (In reply to comment #2) > I guess, you're talking about the "Export classes with compile errors and > warnings" flag, which I have enabled. If I disable it, there's still just a > warning, but the erroneous class file is not in the jar. That's not what I see. Actually that case is even worse: it doesn't even show any dialog. This is captured in bug 221782. In case when the options are enabled, the warning dialog is the correct thing to show. |