A long known problem with our Maven integration. Maven analyzes the
output line by line and prints out a complete line when carriage return
arrives.
If that's an issue right now, you can use Gradle or Ant project instead.
On 12/8/21 04:34, Vladimir Machat wrote:
Hi all,
The version 3.6.3, which is currently bundled with Netbeans, has a bug
that breaks input when using print and printf, for example when trying
to run following code:
Scanner in = new Scanner(System.in, "UTF-8");
System.out.print("Enter a word: ");
String word = in.nextLine();
System.out.println("You entered: " + word);
The prompt 'Enter a word:' doesn't get printed until you actually type
in a word and press enter. Then the output looks like this:
tree
Enter a word: You entered: tree
It should look like this:
Enter a word: tree
You entered: tree
I did some experimenting and it seems to be fixed in version 3.8.2 and
newer.
Are there any plans to upgrade the version of Maven in the near future?
Thanks
Vlad
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists