Most probably the output buffer does not get flushed before the process
termination.
On 6/2/20 10:08 AM, Peter Cheung wrote:
Sorry, confirm it is not netbeans bug. I run it in prompt by exactly same mvn
command. The system.out.print() not working:
mvn -Dexec.args="-classpath %classpath hk.quantr.riscv_simulator.Simulator"
-Dexec.executable="C:\Program Files\Java\jdk-13.0.2\bin\java.exe" -Dexec.classpathScope=runtime
-Dmaven.ext.class.path="C:\Program
Files\NetBeans-11.3\netbeans\java\maven-nblib\netbeans-eventspy.jar;C:\Program
Files\NetBeans-11.3\netbeans\java\maven-nblib\netbeans-cos.jar" -Dfile.encoding=UTF-8
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
so it probably a bug of maven or org.codehaus.mojo:exec-maven-plugin
Thanks Gentlemen.
________________________________
From: Peter Cheung
Sent: Wednesday, June 3, 2020 12:57 AM
To: dev@netbeans.apache.org <dev@netbeans.apache.org>
Subject: System.out.print(">") not working when F6
Hi
System.out.print(">") not working when F6, nothing print out on screen. If
I pack the program into jar and run it in dos prompt, it works. I don't know it is mvn bug
or netbeans bug. I am using Netbeans 11.3 with JDK 13.0.2. Please help.
Thanks
From Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists