JavaFX Maven project

2020-08-20 Thread HRH
Hi,
The maven-based JavaFX projects are created with a pre-defined folder 
structure. Thus far, I have been implementing my application, controller, and 
other supporting classes in the org.javafx.$Project_name_folder (i.e. 
org.javafx.mavenfilteredtableview). This time, I created a project called " 
sortedaddressbook" and created a different folder called 
"org.me.sortedaddressbook" and placed all my classes in it. I modified the POM 
as follow:
http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
    4.0.0
     org.me    sortedaddressbook    
1.0-SNAPSHOT
    
    UTF-8
    11
    11
    
    
    
    org.openjfx
    javafx-controls
    14
    
    
    org.openjfx
    javafx-fxml
    14
    
    
    
    
    
    org.apache.maven.plugins
    maven-compiler-plugin
    3.8.0
    
    11
    
    
    
    org.openjfx
    javafx-maven-plugin
    0.0.4
    
     
org.me.sortedaddressbook.FilteredTableViewApp    

    
    
    
    
    default-cli
    
    
    
    
    debug
    
    
    
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:8000
    
    
    
    
    
    ide-debug
    
    
    
-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
    
    
    
    
    
    ide-profile
    
    
                ${profiler.jvmargs.arg1}
                ${profiler.jvmargs.arg2}
                ${profiler.jvmargs.arg3}
                ${profiler.jvmargs.arg4}
                ${profiler.jvmargs.arg5}
    
    
    
    
    
    
    


Finally, I modified the module-info.java file as follow:
module org.me.sortedaddressbook  {    requires javafx.controls;
    requires javafx.fxml;
    requires java.base;

    opens org.me.sortedaddressbook  to javafx.fxml;    exports 
org.me.sortedaddressbook;}
This leads to a RunTimeException and here is the stack trace:

Exception in Application start method
java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
    at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
    at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at 
java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
    at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
    at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
    at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.IllegalStateException: Location is not set.
    at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2459)
    at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2435)
    at 
org.me.sortedaddressbook/org.me.sortedaddressbook.FilteredTableViewApp.start(FilteredTableViewApp.java:24)
    at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
    at 
javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
    at 

Re: NetBeans 8.2 Maven Artifacts, anyone?

2020-08-20 Thread antonio

Hi all,

We have a listing with md5sums now at

http://137.254.56.27/nexus/content/groups/netbeans/org/netbeans/api/org-jdesktop-layout/RELEASE68/printOutput.txt

Kind regards,
Antonio

El 16/7/20 a las 21:30, Emilian Bold escribió:

This sounds like web scrapping almost.

Can somebody from Oracle either create a huge tar file to download or at 
least do a 'find .' on the server so we have a full list of files to backup?


Historical releases are also worth keeping.

--emi

joi, 16 iul. 2020, 22:22 antonio > a scris:


Hi Emi,

I think that the easiest way to download the stuff it using the Maven
Indexer. I think that you can use that to fetch a list of artifacts
(and
even the artifacts themselves) for all Oracle NetBeans releases.

Kind regards,
Antonio

El 16/7/20 a las 17:38, Emilian Bold escribió:
 > Loads of people do. Please provide a way to easily download what
 > NetBeans/Oracle plans on deleting and I will back then up somewhere.
 >
 > --emi
 >
 > joi, 16 iul. 2020, 11:17 Antonio mailto:anto...@vieiro.net>
 > >> a scris:
 >
 >     Hi all,
 >
 >     Is anybody still using NetBeans 8.2 Maven artifacts? Is there any
 >     interest in keeping those around?
 >
 >     Those old artifacts are being kept in Oracle servers, and
could be
 >     decomissioned soon. Is there any interest in keeping them around?
 >
 >     Thanks,
 >     Antonio
 >
 >   
  -

 >     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
 >



-
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



Re:using older jdk with NB12

2020-08-20 Thread Albert Flex
You could set another Java TM for NetBeans to develop.
You should set The Java TM on ToolsJava Platform,and add the platform you 
need( you must install jdk8 on your machine),then you could select the Compile 
JDK for your project in Project Right Click BuildCompile,Select JDK 
your want on the selection.then Enjoy your code.as the following picture,you 
could need.





--Original--
From: "Greenberg, Gary"