listening to compilation events, and more..


I know about adding a CompilationStatusListener to a CompilationManager
instance.


Q1/ how can I detect that the compilation was automatically triggered by
a config. running (like run tests, run app, etc..), and not as a
standalone compilation.

Q2/ how can I detect that the run config that triggered the compilation
is a test config (and not an application, or .. config)?


Motivation: I want to beep at the end of the compilation
(success/failure), except when it's been triggered by a test config. In
that case, special beeps to signal test success/failure.

2 comments
Comment actions Permalink

Is it feasible?

Alain

0
Comment actions Permalink

I know about adding a CompilationStatusListener to a
CompilationManager instance.
Q1/ how can I detect that the compilation was automatically triggered
by a config. running (like run tests, run app, etc..), and not as a
standalone compilation.
Q2/ how can I detect that the run config that triggered the
compilation is a test config (and not an application, or .. config)?

>

Is it feasible?


Q3/ can I listen to debug breakpoints?
Motivation: I'd like to have IDEA beep when the debug process has been
waiting on a breakpoint for more than xx seconds.


Alain

Motivation: I want to beep at the end of the compilation
(success/failure), except when it's been triggered by a test config.
In that case, special beeps to signal test success/failure.


0

Please sign in to leave a comment.