Re: Use jpackage in NB

2022-10-06 Thread Laszlo Kishalmi
You can get that working with suitable plugins for Gradle or Maven. As of Ant just call the commandline tool. On 10/6/22 00:39, Helmut Leininger wrote: Hi, since Java 14 the Java SDK contains jpackage to create deliverables that include necessary Java runtimes. Is it possible to use jpacke i

Re: Use jpackage in NB

2022-10-06 Thread Amn
Excellent question. On 2022-10-06 3:39 a.m., Helmut Leininger wrote: Hi, since Java 14 the Java SDK contains jpackage to create deliverables that include necessary Java runtimes. Is it possible to use jpacke int Netbeans 15 (plugins, ant, ...) ? Thanks Hemut Leininger --

RE: Formatting issue

2022-10-06 Thread Tellis, Wyatt
> Well, you can try setting Always wrap for Try Resources in the formatting > options - Language : Java, Category: Wrapping. Thanks, that fixed it. > The underlying problem is actually in javac, and afaik fixed in JDK 20. Just curious, how does javac lead to this problem? -Original Message

Re: Formatting issue

2022-10-06 Thread Neil C Smith
On Thu, 6 Oct 2022 at 15:49, Tellis, Wyatt wrote: > This never happened with NB 12 and prior versions. I’ve tried toggling > Multiline Alignment, but it doesn’t do anything. Is there another setting > that controls this behavior? Well, you can try setting Always wrap for Try Resources in the

Formatting issue

2022-10-06 Thread Tellis, Wyatt
I've noticed that with NB 15 the formatting of try with resources lines is broken. NB insists on putting everything on one line. For example if I have: try (Resource r1 = getResource(); Resource r2 = getResource()) { } NB will put everything on one line when formatting the code: try (Re

Use jpackage in NB

2022-10-06 Thread Helmut Leininger
Hi, since Java 14 the Java SDK contains jpackage to create deliverables that include necessary Java runtimes. Is it possible to use jpacke int Netbeans 15 (plugins, ant, ...) ? Thanks Hemut Leininger OpenPGP_0x490D71A8776A6183.asc Description: OpenPGP public key begin:vcard fn:Helmut Leini