Re: gradle plugin

2019-10-09 Thread Jonathan Bergh
Thanks Laszlo, that was it. Appreciate the help. On Wed, 09 Oct 2019, 5:27 PM Laszlo Kishalmi, wrote: > Check the sourceset definition in your buildscript. > > You can also open the the project properties (by right clicking on the > project), then click on the sources to see which directories

Re: Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
Am 09.10.2019 um 20:03 schrieb Neil C Smith: > On Wed, 9 Oct 2019 at 18:57, Helmut Leininger wrote: >> Setting Compile on Save to OFF did the trick. > Great! Think that's caused by the issue with shipping the right > nb-javac that's delaying beta3. > >> User directory: C:\Users\hl\AppData\Roamin

Re: Problem running application with --enable-preview

2019-10-09 Thread Neil C Smith
On Wed, 9 Oct 2019 at 18:57, Helmut Leininger wrote: > Setting Compile on Save to OFF did the trick. Great! Think that's caused by the issue with shipping the right nb-javac that's delaying beta3. > User directory: C:\Users\hl\AppData\Roaming\NetBeans\11.0 > > Even if I delete it and restart Ne

Re: Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
Neil, Setting Compile on Save to OFF did the trick. > User directory: C:\Users\hl\AppData\Roaming\NetBeans\11.0 Even if I delete it and restart Netbeans, it is recreated (and not ...\11.2-beta2) Regards Am 09.10.2019 um 19:21 schrieb Neil C Smith: > On Wed, 9 Oct 2019 at 14:57, Helmut Leining

Re: Problem running application with --enable-preview

2019-10-09 Thread Neil C Smith
On Wed, 9 Oct 2019 at 14:57, Helmut Leininger wrote: > java.lang.UnsupportedClassVersionError: testapachepoi/TestApachePOI > (class file version 56.65535) was compiled with preview features that are > unsupported. This version of the Java Runtime only recognizes preview > features for class

Re: Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
Unfortunately, it does not help too much. I see two diferences with the video: 1) in the video netbeans is run on Java 1.8, I am running on Java 13 (and I don't know why I should change) 2) in the video it seems to use Maven, I am using Ant (which should not make a difference) Am 09.10.2019 um 1

Re: gradle plugin

2019-10-09 Thread Laszlo Kishalmi
Check the sourceset definition in your buildscript. You can also open the the project properties (by right clicking on the project), then click on the sources to see which directories are reported back to to the defined sourecesets. I'm guessing the resources dir has been added to the java di

Re: Problem running application with --enable-preview

2019-10-09 Thread Geertjan Wielenga
https://www.youtube.com/watch?v=ciK5qzJsSTc Hope it helps, Gj On Wed, Oct 9, 2019 at 3:57 PM Helmut Leininger wrote: > Hi, > > I have a small test program using --enable-preview set for compile and run. > > The program compiles without error, but whun runnning it from within the > IDE, it fail

Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
Hi, I have a small test program using --enable-preview set for compile and run. The program compiles without error, but whun runnning it from within the IDE, it fails with this error message: Fehler: Beim Laden der Klasse testapachepoi.TestApachePOI ist ein LinkageError aufgetreten     java.lang.

gradle plugin

2019-10-09 Thread Jonathan Bergh
hi there, just a quick question regarding the Gradle support built into Netbeans 11 - my IDE is showing the source code under both - Source packages [java], as well as - Resources [java] I get the correct contents for: - Resources [main], which contains all the project FXML etc. Is this a mis

Re: Intellij formatting rules in NetBeans?

2019-10-09 Thread Luff,Chris
You could have a go at resurrecting https://github.com/geertjanw/eclipsecodeformatter_for_netbeans to accept the intellij formatting. Chris Luff | Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | chris.l...@cerner.com | +44 (0)7970 7