Re: Is the standard source layout for Java modules (JPMS) supported?

2021-11-23 Thread Laszlo Kishalmi
Well AFAIK standard Gradle does not support that layout. You can add a separate Java project for each java module you are working with in a multi-project Gradle setup. Or if you insist keeping your modules in one project you can always declare one sourceset per module. In that case: src/  

Is the standard source layout for Java modules (JPMS) supported?

2021-11-23 Thread Scott Palmer
I just recently started using Java modules. From what I’ve read, standard layout for projects with modules is: src/ main/ java/ com.example.module_a/ module-info.java com/ example/ a/ ExampleA.java com.example.module_b/

Re: Declarative Java Hints: Syntax help

2021-11-23 Thread Michael Bien
Hi Matthias, looks like jackpot doesn't understand if (o instanceof Integer i) yet. I tested with: if ($origVar instanceof $T $t) { } => if ($origVar instanceof $T $t) { } ;; and it never initialized $T or $t. There is a "Changing source level to 1.8" line in the log, I saw that before

Declarative Java Hints: Syntax help

2021-11-23 Thread Matthias Bläsing
Hi, it would be great if someone could give me a hint what I'm missing: I would like to rewrite a pattern matching if into a if checking the condition and then doing the necessary cast. Basicly: if (o instanceof FancyObject fancy) { doSomethingWithFancy(fancy); } Should become: if (o

Re: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-23 Thread Laszlo Kishalmi
On 11/23/21 01:43, Neil C Smith wrote: On Tue, 23 Nov 2021 at 02:16, Laszlo Kishalmi wrote: What would be the conclusion of this topic? Well, my conclusion is that we should be looking to make FlatLaf Light the default for everyone with NB 13. At least judging from comments, and (something

Re: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-23 Thread Tomáš Procházka
+1 for dark FlatLaf I use NetBeans on both Windows and Linux and having consistent look helps a lot. Regards, Tom On 01. 11. 21 15:01, Neil C Smith wrote: Hi, So, now we've branched off 12.6, and we know that the next release will be NetBeans 13, require JDK 11+, and hopefully ship with

Re: [VOTE] Release Apache NetBeans 12.6

2021-11-23 Thread Tomáš Procházka
+1 - verified sha512 and asc signatures for sources and convenience binary - verified LICENSE and NOTICE - sources don't contain any .jar files - built on Ubuntu 21.10 with JDK 1.8.0_302 Tested both built NetBeans and convenience binaries - opened PHP project - navigation, CC, code analysis

Re: [VOTE] Release Apache NetBeans 12.6

2021-11-23 Thread Kai Uwe Pel
+1 (not binding) Everything is nice, the source compiles, gives a good executable. Checksums are Ok. Signature Ok. Kai On 11/22/2021 6:21 PM, Neil C Smith wrote: Dear community, This is our first voting candidate for the 12.6 release of Apache NetBeans. Please note all requirements

Re: [VOTE] Release Apache NetBeans 12.6

2021-11-23 Thread Matthias Bläsing
+1 (binding) - SHA512 of source validated - checked signatures - checked NOTICE and LICENSE files in full distributions (platform + IDE, source + bin) - contents of source zip matches contents of git repository branch release126 (9cacf1fd305b775b176576c8b633b10b73524861) - no jars found -

RE: New theme for netbeans, team member wanted

2021-11-23 Thread Eirik Bakke
Credit correction--I did not do the first 50 SVG icons alone--Pete Whelpton also did a bunch in the editor toolbar! =D -- Eirik -Original Message- From: Eirik Bakke Sent: Tuesday, November 23, 2021 12:51 PM To: dev@netbeans.apache.org Subject: RE: New theme for netbeans, team member

RE: New theme for netbeans, team member wanted

2021-11-23 Thread Eirik Bakke
Hi, Peter! There is one big theme-related task which is pending, which is to create new SVG versions of various bitmap icons in the IDE, for modern Retina/HiDPI screens. I did the first 50 (in Adobe Illustrator), and picked out the next ones to be prioritized, as you can see here:

Re: How to bundle JDK with NetBeans

2021-11-23 Thread Lars Bruun-Hansen
Hi Zoran It has indeed been possible for many years to bundle a JRE with a NetBeans Platform installer. It is documented here: https://dzone.com/articles/including-jre-in-nbi The advantage is that you can simply distribute a single file to your users which is an Installer executable (e.g. a .exe

AW: New theme for netbeans, team member wanted

2021-11-23 Thread Christian Lenz
Hey Peter, great to have you on board already. We are discussing to add the Flat LaF as a default theme to NetBeans which is already implemented, but we need to switch to it. What I can say what we need is a designer for maybe new UI components. Some components in NetBeans can be combined

Re: How to bundle JDK with NetBeans

2021-11-23 Thread Neil C Smith
On Tue, 23 Nov 2021 at 15:06, Zoran Sevarac wrote: > Using jdkhome worked. Thanks! > Using it with installers would be even better! Let me take a look at > NBPackage and we'll continue the discussion . Great! This might be useful too - https://github.com/neilcsmith-net/nbpackage-test Built some

Re: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-23 Thread Michael Bien
On 23.11.21 15:35, Eirik Bakke wrote: Perhaps simpler than a dialog would be to just switch to FlatLAF Light for any user who has not explicitly touched the LAF setting in the past. there might be a way to probe the background color of the system look and feel and check if its dark or not

Re: How to bundle JDK with NetBeans

2021-11-23 Thread Zoran Sevarac
Using jdkhome worked. Thanks! Using it with installers would be even better! Let me take a look at NBPackage and we'll continue the discussion . Best Zoran On Tue, Nov 23, 2021 at 10:28 AM Neil C Smith wrote: > On Tue, 23 Nov 2021 at 08:31, Zoran Sevarac wrote: > > Is there any info about

Re: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-23 Thread Neil C Smith
On Tue, 23 Nov 2021 at 14:35, Eirik Bakke wrote: > Perhaps simpler than a dialog would be to just switch to FlatLAF Light for > any user who has not explicitly touched the LAF setting in the past. > > Alternatively, we could switch unconditionally to FlatLAF Light for everyone, > once

RE: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-23 Thread Eirik Bakke
Perhaps simpler than a dialog would be to just switch to FlatLAF Light for any user who has not explicitly touched the LAF setting in the past. Alternatively, we could switch unconditionally to FlatLAF Light for everyone, once only--i.e. leave a flag in the user directory that shows that the

AW: project files not auto refresh

2021-11-23 Thread Christian Lenz
Can you please point to a documentation for such a fileWatcher? Von: Laszlo Kishalmi Gesendet: Montag, 15. November 2021 06:02 An: dev@netbeans.apache.org Betreff: Re: project files not auto refresh Just set up a watcher on your project files. On 11/12/21 20:35, Peter Cheung wrote: > Hi >

AW: TextMate vs TreeSitter

2021-11-23 Thread Christian Lenz
I also wanted to use JSitter from JetBrains, didn’t start yet, but I wanted to use it to parse the supported languages/files to get the AST to work with it for some nice Handy Features. Will have a look somewhen I have time. Von: Ernie Rael Gesendet: Samstag, 20. November 2021 17:25 An:

Re: Project opening blocked on network I/O

2021-11-23 Thread Jaroslav Tulach
Hello Tim, it is a known behavior present since 11.3 version. E.g. nothing new. Actually with https://github.com/apache/netbeans/pull/3251 which makes nb-javac@17 part of NetBeans distributions, the FoD downloading/check could disappear for Java, Java EE clusters. -jt PS: It is still going to be

Re: [DISCUSS] Default to FlatLaf in NetBeans 13?

2021-11-23 Thread Neil C Smith
On Tue, 23 Nov 2021 at 02:16, Laszlo Kishalmi wrote: > What would be the conclusion of this topic? Well, my conclusion is that we should be looking to make FlatLaf Light the default for everyone with NB 13. At least judging from comments, and (something I think is important) what we seem to be

Re: How to bundle JDK with NetBeans

2021-11-23 Thread Neil C Smith
On Tue, 23 Nov 2021 at 08:31, Zoran Sevarac wrote: > Is there any info about the best way to bundle OpenJDK with Netbeans > Platform Application? > I've tried setting on conf file > netbeans_jdkhome="zulu8.58.0.13-ca-jdk8.0.312-win_x64" Note that the platform and the IDE have different

Re: How to bundle JDK with NetBeans

2021-11-23 Thread Zoran Sevarac
Great! @Neil let me know if I can help. Best , Zoran On Tue, Nov 23, 2021 at 9:35 AM Geertjan Wielenga wrote: > If Neil’s plan to bundle NetBeans with Zulu and make it available from his > site succeeds, then Deep Netts and others should be able to reuse that > somehow. > > Gj > > On Tue, 23

Re: How to bundle JDK with NetBeans

2021-11-23 Thread Geertjan Wielenga
If Neil’s plan to bundle NetBeans with Zulu and make it available from his site succeeds, then Deep Netts and others should be able to reuse that somehow. Gj On Tue, 23 Nov 2021 at 09:31, Zoran Sevarac wrote: > Hi, > > Is there any info about the best way to bundle OpenJDK with Netbeans >

How to bundle JDK with NetBeans

2021-11-23 Thread Zoran Sevarac
Hi, Is there any info about the best way to bundle OpenJDK with Netbeans Platform Application? I've tried setting on conf file netbeans_jdkhome="zulu8.58.0.13-ca-jdk8.0.312-win_x64" But when I run the app it keeps using the default jre (shown in About dialog). I've tried the absolute path with