I was surprised to discover that scala:run redirects both stderr and stdout to the same console or > out. It also sends all the [INFO] lines there.
Now a reasonable and expected behavior, on Unix, is to send all tool output to stderr, so > out would leave only application output in out. And mvn -q would decrease the verbosity of its own stderr. However, mvn -q in actuality kills all stderr, and apps' stderr is still going to the same place as stdout. When packaging the same app as an executable jar, stderr and stdout are properly separated. This behavior makes running under maven almost unusable. Is there a way to fix that and separate stderr and stdout? Cheers, Alexy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
