Re: How to add or remove nodes on first level of project?

2020-12-29 Thread Laszlo Kishalmi
I'd recommend to register a few node factory. Something like: @NodeFactory.Registration(projectType = NbGradleProject.GRADLE_PROJECT_TYPE, position = 190) public class ConfigurationsNodeFactory implements NodeFactory { } https://github.com/apache/netbeans/blob/master/extide/gradle/src/org/net

NetBeans IDE 12.2 - Failed to automatically set-up JavaFX Platform

2020-12-29 Thread Paolo Colamarino
HI, I have installed jdk-15 and after Apache NetBeans IDE 12.2. I open NetBeans and after File > New project > Categories > JavaFX > Projects > JavaFX Application > Next I obtain an error message : Failed to automatically set-up JavaFX Platform Why ? Thanks Paolo Colamarino

How to add or remove nodes on first level of project?

2020-12-29 Thread Orlyanskiy Vladimir
Hello. I try to create NetBeans module for start Groovy scripts as external processes. I have problem with adding and removing nodes in first level of project in Projects tab. Look to attached picture. If I will add new nodes to first level they will be shown only after restart NetBeans. But if w

Re: Java FX Scenebuilder w/12.2

2020-12-29 Thread Will Hartung
Yea, that was it. When I went to the JavaFX tab, it also installed a new module. Just odd that these settings did not get imported over from 12.0 as I would have expected. Thanks all! Regards, Will Hartung On Tue, Dec 29, 2020 at 7:05 AM David wrote: > As I recall you have to specifically in

Re: Java FX Scenebuilder w/12.2

2020-12-29 Thread David
As I recall you have to specifically integrate SceneBuilder into Netbeans with each Netbeans install. A quick google found Starting Scene Builder from NetBeans IDEFrom the Main menu, select Tools and choose Options. On the Mac OS platform, select NetBeans and choose Preferences from the Main menu.I

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Clement Levallois
Hi, Thank you, your questions put me on the right track. I did what you suggested (right click and Debug) and met an error about missing javafx libs. I need to add the javafx plugin, add the javafx lib in NetBeans and basically follow the steps here: https://openjfx.io/openjfx-docs/#introduction

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Neil C Smith
On Tue, 29 Dec 2020 at 11:21, Clement Levallois wrote: > So... not sure at which step / how I can use the "debug" function in NetBeans > for such a project? You'll likely need to edit the actions for run / debug in project properties to use module path rather than class path (you can still use c

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Geertjan Wielenga
What happens when you set a breakpoint in your code in NetBeans and right-click the project and choose Debug? You might need to look at the Debug action, after right-clicking the project, choosing Properties, and look in the Actions category to finetune the Debug action for your needs. Gj On Tue

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Clement Levallois
Hi, The project is made of a parent pom and child maven modules. Yes, I can open it in NetBeans and build it. The build creates a "mods" folder where all the JPMS jars are generated. Then, I run the app with a command which specifies the module-path and the start module: java --module-path mods

Re: Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Geertjan Wielenga
What happens when you use File | Open Project and browse to the root folder? Alternatively, create a new Java project in NetBeans and copy your code into the generated project template. Gj On Tue, 29 Dec 2020 at 12:05, Clement Levallois wrote: > Hi, > > At the moment I run my jigsaw / JPMS proj

Running a modular (JPMS) java project from NetBeans in debug mode?

2020-12-29 Thread Clement Levallois
Hi, At the moment I run my jigsaw / JPMS project from the command line: java --module-path mods/core --module net.clementlevallois.certificateapp.core This works fine but this prevents me from using NetBeans debugging capabilities (line by line debugging in particular). How can I come back to Ne