Replies: 1 comment
-
Hey @nedpals sry that you didn't get any response. I can't answer this question but maybe someone else @neilcsmith-net, @mbien, @sdedic ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am currently developing a plugin for a research project I'm making at the moment which involves listening for incoming error messages from the terminal. My idea was that since Java projects (ant/maven/gradle) run on a dedicated output window, the stderr portion will be passively piped into my program for analysis.
However I find it very difficult to achieve this one (in combination with scattered information and "dead" links which I am frustrated at) to the point that I did the work myself to locate the relevant source code only to find this.
netbeans/platform/core.output2/src/org/netbeans/core/output2/ErrWriter.java
Line 186 in 94a19f0
Turns out I can attach an OutputListener explicitly if my module do the call (eg.
io.getErr().print("test", outputListener)
) but not on this one. Is there anyway I can attach an OutputListener to anErrWriter
? Is this monkey-patchable. Hoping for an immediate response. Thanks!Beta Was this translation helpful? Give feedback.
All reactions