You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Eirik Bakke <eb...@ultorg.com> on 2018/09/05 14:12:22 UTC

RE: No IDE console output from platform app on Windows/maven/Java 9?

I have added this as an issue against the nbm-maven-plugin, and added some more details about what I've tried so far:

https://github.com/mojohaus/nbm-maven-plugin/issues/45

Still not sure how to solve this.

-- Eirik

-----Original Message-----
From: Eirik Bakke <eb...@ultorg.com> 
Sent: Thursday, August 30, 2018 5:15 PM
To: dev@netbeans.incubator.apache.org
Subject: No IDE console output from platform app on Windows/maven/Java 9?

I have a maven-based NetBeans Platform app now using the 9.0-vc3 version of the platform libraries. During development, I'm running the application from the IDE, which works fine on Java 8.

However, when I switch to Java 9 or Java 10, there is no console output from the platform application shown in the output pane of the IDE, except some initial build messages. So nothing that is printed via "System.out.println()" or logged via Logger from the application itself is shown in the IDE's Output pane. If I run the application manually from the Windows command line, all messages show up just fine.
Does anyone have an idea of how to solve this?

There was a similar bug several years ago: https://netbeans.org/bugzilla/show_bug.cgi?id=235193 . That one could be fixed by changing the nbm-maven-plugin to a newer version. This time I'm already at the latest version--cloning the latest development version of nbm-maven-plugin and using that one did not help either.

-- Eirik

====== Example Output Pane ======
<various maven messages>
Integrity verification passed.
Created NetBeans module cluster(s) at Z:\Ultorg\ultorg_src\Modules\desktop-application\target\ultorg
--- nbm-maven-plugin:4.1:run-platform (default-cli) @ desktop-application ---
Executing: cmd.exe /X /C "Z:\Ultorg\ultorg_src\Modules\desktop-application\target\ultorg\bin\ultorg.exe <lots of arguments> <no further messages, despite app logging and printing lots of messages>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists