Bug 558325 - CompilationParticipant not notified that user has canceled build
Summary: CompilationParticipant not notified that user has canceled build
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.14   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-14 08:24 EST by Bob Hanson CLA
Modified: 2024-03-21 14:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Hanson CLA 2019-12-14 08:24:56 EST
We are using a CompilationParticipant plug-in net.sf.j2s.core.jar (https://github.com/BobHanson/java2script) with great success, having processed over 600 applets and several major Java programs. The CompilationParticipant in this case creates JavaScript instead of class files, using an ASTVisitor. 

Just reporting a nuisance, primarily, but I believe it could be considered a bug. 
When the user clicks the red box to cut short a large build, the build does stop, but the CompilationParticipant is not notified of this event and initiates still. 

Looking for some way for the CompilationParticipant to get notification that the build has stopped.
Comment 1 Lars Vogel CLA 2020-03-31 08:40:58 EDT
Sounds like this belongs to JDT. Moving to JDT UI for comments.
Comment 2 Noopur Gupta CLA 2020-04-01 07:49:42 EDT
This is handled in JDT Core.

org.eclipse.jdt.core.compiler.CompilationParticipant
and
org.eclipse.jdt.internal.core.builder.JavaBuilder
Comment 3 Eclipse Genie CLA 2022-03-24 13:36:14 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2024-03-21 14:40:13 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.