Allowed JAR saving if proceedOnError is specified#88
Allowed JAR saving if proceedOnError is specified#88256p wants to merge 1 commit intoeclipse-aspectj:masterfrom
Conversation
|
The comment right above the change is |
I closed the first PR because I have mistaken and my Eclipse Contributor Agreement was not validated. |
Maybe I am wrong but as I understand this bug was related to the build without -proceedOnError argument. And yes in some cases it might result in corrupted outjar. But isn't -proceedOnError argument supposed to return results regardless of errors? |
@aclement, I think @256p has a point here. How about logging a warning about a possibly corrupted JAR in case of @256p, can you please provide a reasonable test case for which it makes sense to continue? A negative test which corrupts the file would also be welcome. That would help to move this issue along, because I think this deserves test coverage. If your test case is not automated, because you have trouble understanding the structure and configuration of AspectJ tests (which would not surprise me), at least reproducible examples, as minimal as possible, would be a good starting point for us to automate it. Depending on how important your authorship is for this PR, I could commit on top your commit of it or start from scratch. |
Added
proceedOnError()check in order to allow JAR generation if -proceedOnError argument is passed.