** 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 
<err...@raelity.com> wrote:  
 
 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 steps to create the FXML file that needs to be moved:
>
> 1- File->New Project->Java with Maven->FXML JavaFx Maven Archetype 
> (Gluon)->.... to create the project.
> 2- File ->New File -> JavaFX->Empty FXML->....->Use Java 
> Controller->...->Finish.
>
> The resulting FXML file by default is placed in the 
> ${Project}\src\main\resources\fxml directory. Albeit, in step 2 above, 
> it does give you an option to put it in the org.opejfx.${Project}, so 
> one doesn't have to do the manual move. However, that would be a lucky 
> guess if you are new to Netbean JavaFx. As I indicated earlier if one 
> doesn't need to use FXML or just uses the Ant built for JavaFx then, 
> there aren't any issues.
>
> If you feel this ought to be reported as a bug, please let me know and 
> I will file a report.
>
> Thanks,
> Anthony.
>
> On Saturday, August 15, 2020, 2:06:17 AM GMT+4:30, Ernie Rael 
> <err...@raelity.com> wrote:
>
>
> I didn't completely follow this. How are these files created (the ones
> that have to be moved?) If they come from standard NetBeans operations,
> then there is a bug. Please file it and either post the issue number
> here, or add me as a watcher. Thanks.
>
> -ernie
>
> On 8/14/2020 11:11 AM, HRH wrote:
> > Thanks, that would work.
> >
> > On Friday, August 14, 2020, 10:28:50 PM GMT+4:30, Geertjan Wielenga
> > <geert...@apache.org <mailto:geert...@apache.org>> wrote:
> >
> >
> >
> > To create a new FXML file, just copy one of the existing ones in the
> > project into the same place where the original FXML file is found.
> >
> > Gj
> >
> > On Fri, 14 Aug 2020 at 19:51, HRH <hrh...@yahoo.com 
> <mailto:hrh...@yahoo.com>
> > <mailto:hrh...@yahoo.com <mailto:hrh...@yahoo.com>>> wrote:
> >
> >
> >
> >    Thanks Geertjan,
> >
> >    Indeed, I used one of those Gluon OpenJFX projects from the New
> >    Project wizard. The one that uses FXML (not the simple one),
> >    however, the manual file transfer needed. Hopefully, the next
> >    release of Netbeans can automate this file transfer, in order to
> >    eliminate the manual intervention. Please note that if one chooses
> >    not to build the JavaFx with FXML, then there is no issue and
> >    everything works fine.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >    On Friday, August 14, 2020, 7:32:50 PM GMT+4:30, Geertjan Wielenga
> >    <geert...@apache.org <mailto:geert...@apache.org> 
> <mailto:geert...@apache.org <mailto:geert...@apache.org>>> wrote:
>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >    The two Gluon OpenJFX projects in the New Project wizard run and
> >    debug out of the box, no changes needed.
> >
> >    Gj
> >
> >    On Fri, 14 Aug 2020 at 16:41, HRH <hrh...@yahoo.com.invalid 
> <mailto:hrh...@yahoo.com.invalid>> wrote:
> >
> >        Hi,
> >
> >        I just noticed (the hard way) the generated Empty FXML by the
> >        IDE is stored in the ${Project}\src\main\resources\fxml
> >        directory and unless this is manually copied or moved to
> >        src\main\resources\org\openjfx\${Project} folder the app will
> >        fail at the run time.
>
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
> <mailto:users-unsubscr...@netbeans.apache.org>
> For additional commands, e-mail: users-h...@netbeans.apache.org 
> <mailto:users-h...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

  

Reply via email to