Re: JavaFx maven with FXML

2020-08-15 Thread HRH
Ok, thanks for the link. I reported this as a bug (here is the link: [NETBEANS-4718] The default package for generated FXML file in maven based JavaFx application is not detected - ASF JIRA) | | | | [NETBEANS-4718] The default package for generated FXML file in maven bas... | | |

Re: Java programs run in Netbeans but not outside

2020-08-15 Thread Bradley Willcott
Hi Bayless, Are you using an Ant build or Maven?  If Maven, have a look at "maven-jar-plugin" and "maven-dependency-plugin".  Here is an example of both from one of my projects:             org.apache.maven.plugins maven-jar-plugin     3.2.0        

Re: JavaFx maven with FXML

2020-08-15 Thread Ernie Rael
ApacheNetbeans uses jira https://issues.apache.org/jira/projects/NETBEANS/issues the bugzilla is historical bugs before the move to Apache. -ernie On 8/15/2020 7:41 PM, HRH wrote: Ernie, I tried to report the bug, unfortuenately, the bugzilla reporting page at Log in to Apache NetBeans

Make controller option missing

2020-08-15 Thread HRH
Hi, In the Ant-based JavaFx project, there is a nifty option "Make controller" when right-clicking on the .fxml file. This will update the associated controller with the .fxml once changes made to the .fxml file. In the maven based JavaFx project, this option is missing or at least I can't find

Re: JavaFx maven with FXML

2020-08-15 Thread HRH
Ernie, I tried to report the bug, unfortuenately, the bugzilla reporting page at Log in to Apache NetBeans Bugzilla | | | | Log in to Apache NetBeans Bugzilla | | | doesn't accept my login credentials as valid (which works fine when I logging to apache NetBeans) to report a bug.

Re: FXML import statement issue in Maven based project

2020-08-15 Thread Chuck Davis
I think all you need is the requires phrase. On Sat, Aug 15, 2020 at 6:42 PM HRH wrote: > Thanks, that was the missing part that caused the error. Do I need to > revise the statement that begins with the "opens" directive? I took the > liberty and changed it. The module file looks as follow: >

Re: FXML import statement issue in Maven based project

2020-08-15 Thread HRH
Thanks, that was the missing part that caused the error. Do I need to revise the statement that begins with the "opens" directive? I took the liberty and changed it. The module file looks as follow: module org.openjfx.fxmavenfxml {     requires javafx.controls;     requires javafx.fxml;    

[RCP] How to add a Table or other components in an Editor for a custom file type

2020-08-15 Thread Sam K. Raju
Hi, I am developing an application using Netbeans RCP. I registered a new file type with extension 'api' and mime-type 'text/x-api' and added Editor and Editor Library 2 to my application dependency. I created an explore view with an action to open a new file "test.api". It opens my file in an

Re: FXML import statement issue in Maven based project

2020-08-15 Thread Chuck Davis
Did you revise the module file? On Sat, Aug 15, 2020 at 11:34 AM HRH wrote: > Hi, > > I had an FXML file that was working fine until I added an UI component > "WebView". The in the FXML file > marked as an error because somehow the javafx.web from the JavaFx\Lib is > not seen. I have already

Re: JavaFx maven with FXML

2020-08-15 Thread HRH
** This is a bug; normal operations with default options should work. ** Agreed. I will report the bug. On Saturday, August 15, 2020, 10:24:20 PM GMT+4:30, Ernie Rael wrote: This is a bug; normal operations with default options should work. It guess this NewFile operation isn't fully

Re: JavaFx maven with FXML

2020-08-15 Thread Ernie Rael
This is a bug; normal operations with default options should work. It guess this NewFile operation isn't fully mavenized in a jfx context (or some such). -ernie On 8/14/2020 8:59 PM, HRH wrote: Hello Ernie, ** How are these files created (the ones that have to be moved?) ** Here are the

Re: [platform] Module load order maven application

2020-08-15 Thread Emilian Bold
Yes, adding OpenIDE-Module-Module-Dependencies by hand is pretty old school :-) --emi sâm., 15 aug. 2020, 14:37 Patrik Karlström a scris: > This is really cool, > first I noticed that the nbm-maven-plugin supports > configuration, > then that I don't have to use them. :) > > Looking at a

Java programs run in Netbeans but not outside

2020-08-15 Thread Bayless Kirtley
I recently upgraded from Netbeans 8.1 to 11.1  and due to problems with java 8 I also went to 11. I have been working on some existing projects and everything works fine from within Netbeans. When I try to deploy though, it seems that Netbeans is no longer including the lib directory in the

Re: [platform] Module load order maven application

2020-08-15 Thread Patrik Karlström
This is really cool, first I noticed that the nbm-maven-plugin supports configuration, then that I don't have to use them. :) Looking at a module's *generated* manifest tells me that they end up there due to their maven dependency. Nice! Den fre 14 aug. 2020 kl 18:42 skrev Patrik Karlström :