Re: deployable javafx app

2019-12-02 Thread Chuck Davis
Chris, the documentation @ maven.apahce.org is getting better all the
time.  It's even gotten understandable lately.  Certainly enough to get you
started.  Start in the "User Center".

On Mon, Dec 2, 2019 at 6:22 PM Chris Olsen  wrote:

> Hello, Everyone --
>
>   I have a (possibly) related question.  I am also writing JavaFX programs
> and I am thinking of moving from Ant to Maven (and Java 8 to Java ??).   Is
> there a good resource about Maven that non-developers would benefit from?
> Java is about my 5th language so I'm OK with reading technical stuff, but
> I' would want something that holds my hand in the beginning.
>
>Thanks in advance!
>
>   -- Chris
>
>
> -
> 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: deployable javafx app

2019-12-02 Thread Chris Olsen
Hello, Everyone --

  I have a (possibly) related question.  I am also writing JavaFX programs and 
I am thinking of moving from Ant to Maven (and Java 8 to Java ??).   Is there a 
good resource about Maven that non-developers would benefit from?  Java is 
about my 5th language so I'm OK with reading technical stuff, but I' would want 
something that holds my hand in the beginning.

   Thanks in advance! 

  -- Chris


-
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: [ scala ] Just asking for update on Scala for NetBeans

2019-12-02 Thread Luff,Chris
Long story short - at the moment the Scala compiler is 2.11.3 on JDK 1.8 but 
you can build your code on NetBeans 11.2 with JDK 11 and Maven.

I recently removed the dependency on a specific NetBeans version. Have you 
tried to install on 11.1?

On 28 Nov 2019, at 13:54, Mark Phipps 
mailto:mark.phi...@sucfin.com>> wrote:


Hi Chris,

Does your fork work when running  NB 11 under JDK 11 with a JDK 11 Maven 
project?

Thanks

Mark

On 01/10/2019 09:41, Luff,Chris wrote:
I have not been focused to much on this plugin of late - I have a few minutes 
this morning to push some changes that are needed to have it build on 11.1 and 
11.2-beta1.

I should have installable nbms by the end of the day.

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com | Cerner 
Limited

On 1 Oct 2019, at 04:21, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

Cool, thanks, I'll give it a whirl tomorrow. Al

On Mon, Sep 30, 2019 at 6:07 PM Brett Ryan 
mailto:brett.r...@gmail.com>> wrote:
I’m going to have to give this a try, I did manage building for 8.2 but it was 
a lot of trouble. Was hoping i could free my time to help but it’s been hectic.

I think the whole big data community has been using intellij for scala (myself 
included). There’s several reasons there. Python is big in BD due to the strong 
academia influx and they all use pycharm (JetBrains) so the IntelliJ pickup is 
natural for scala.

It would be neat to use scala in nb again so am keen to try. We did move away 
from sbt to maven for our spark builds, wonder how that might go.



> On 1 Oct 2019, at 06:38, Emilian Bold 
> mailto:emilian.b...@gmail.com>> wrote:
>
> I think the most recent development wrt Scala is
> https://github.com/cbm64chris/nbscala
>  by Chris Luff and the plugin
> would be at 
> http://plugins.netbeans.org/plugin/75542/nbscala
>  (added
> 2019-03-13).
>
> So either you register the whole plugin portal update center URL or
> you download the NBM and add it by and in the Plugins window.
>
> --emi
>
> On Mon, Sep 30, 2019 at 11:20 PM Alonso Del Arte
> mailto:alonso.dela...@gmail.com>> wrote:
>>
>> I've been using NetBeans 11.1 for about a week now. Smooth sailing with all 
>> my Java projects I started on NetBeans 8.2.
>>
>> For several months I've been aware of Geertjan Wielenga's 2013 tutorial for 
>> installing Scala for NetBeans 7.3.1. But when I only had one computer for 
>> programming, I was reluctant to even touch the NetBeans configuration file. 
>> So I wrote Scala in Notepad and compiled it on the command line.
>>
>> Then I got a MacBook and installed NetBeans and IntelliJ on it, I've been 
>> using IntelliJ for most of my Scala programming. Now I figured I should give 
>> the Scala for NetBeans plugin a try on my MacBook.
>>
>> I followed Geertjan's tutorial up to Step 4, at which point I just couldn't 
>> find the Scala plugin from within NetBeans 8.2. Then I upgraded to 11.1 and 
>> couldn't find the plugin either. Then I found the plugin through a Web 
>> browser, the page said it was verified for 8.1. I downloaded it and then 
>> just didn't know what to do with it.
>>
>> Is the Scala plugin for Apache NetBeans in active development, or is it on 
>> the back-burner, or has it been dropped?
>>
>> Al
>>
>> --
>> Alonso del Arte
>> Author at 
>> SmashWords.com
>> Musician at 
>> ReverbNation.com
>
> -
> 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:
> 

Re: deployable javafx app

2019-12-02 Thread Luff,Chris
Right, it depends on if you want modular or non-modular and that is generally 
predicated by what kind of dependencies you include that you cannot influence.

If you want a non-modular binary you can use a shaded JAR with a launcher class 
that literally calls the main method of the main that extends the JavaFX 
Application. and Jlink. You’ll obviously need to include all the JavaFX 
dependencies.




org.apache.maven.plugins
maven-compiler-plugin
3.8.1

${maven.compiler.version}



org.openjfx
javafx-maven-plugin
0.0.3

${mainClass}



org.apache.maven.plugins
maven-shade-plugin
3.2.1


package

shade



true

project-classifier

${project.build.directory}/jar/${project.artifactId}.jar


${launcherClass}









Simply run this and you’ll get an executable binary for the platform you are 
running.
mvn org.openjfx:javafx-maven-plugin:0.0.3:jlink

If however, you want a modular project it’s somewhat more complex but 
nonetheless doable; you could follow my tutorial on DZone[1]. It does need 
updating a little - in that you can use the JDK 14ea JPackage to do the 
packaging now but it is generally all still applicable.

Hope this helps!

On 1 Dec 2019, at 11:03, joe schmo 
mailto:geekyguy...@hotmail.com>> wrote:

I have created a javafx application using Netbeans 11.1, it is a maven based 
project.  I want to create a deployable executable jar file.  Is there a good 
tutorial or documentation on how to do this with Netbeans/maven?

Thanks



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.