Re: [gradle/spock] Netbeans 11.2 run test greyed out
https://github.com/apache/netbeans/pull/1784 Will be available in 11.3 or the recent development builds On 12/19/19 6:13 AM, Fred Welland wrote: Expect: right click in source window on a groovy/spock spec file to support "Test File" as well and ctrl-f6 to work Result: right click option is greyed out -- and nothing happened when one uses ctrl-f6 Is this just a bug or is there some tweak or setting I can flip to get this to work? FWIW: This was also the case in 11. 1. Using NB 10, using the older gradle project plugin, this feature (and debug test) works really well. In NB 11.2, running a project level test operation works OK. FWIW, Some specifics: *Product Version:* Apache NetBeans IDE 11.2 *Java:* 1.8.0_232; OpenJDK 64-Bit Server VM 25.232-b09 *Runtime:* OpenJDK Runtime Environment 1.8.0_232-b09 *System:* Linux version 5.3.16-300.fc31.x86_64 running on amd64; UTF-8; en_US (nb)
Re: Raspberry Pi
Hi Lou, I have used NB with RPi as a remote platform - it worked beautifully, in fact i was surprised (in a really good way) how easily it worked. On Thu, Dec 19, 2019 at 8:38 PM Lou wrote: > Does anyone have experience/guidance using NetBeans with Raspberry Pi? > > Would you recommend using NetBeans on the Raspberry or trying to add the > Raspberry as a remote platform? The project is a internet/USB com first > with Raspberry Pi control of several servos added second. > > I am new to NetBeans, my Java is rusty, but Java sees the correct answer > for a mostly communication application. > > Lou > >
Raspberry Pi
Does anyone have experience/guidance using NetBeans with Raspberry Pi? Would you recommend using NetBeans on the Raspberry or trying to add the Raspberry as a remote platform? The project is a internet/USB com first with Raspberry Pi control of several servos added second. I am new to NetBeans, my Java is rusty, but Java sees the correct answer for a mostly communication application. Lou
[gradle/spock] Netbeans 11.2 run test greyed out
Expect: right click in source window on a groovy/spock spec file to support "Test File" as well and ctrl-f6 to work Result: right click option is greyed out -- and nothing happened when one uses ctrl-f6 Is this just a bug or is there some tweak or setting I can flip to get this to work? FWIW: This was also the case in 11. 1. Using NB 10, using the older gradle project plugin, this feature (and debug test) works really well. In NB 11.2, running a project level test operation works OK. FWIW, Some specifics: *Product Version:* Apache NetBeans IDE 11.2 *Java:* 1.8.0_232; OpenJDK 64-Bit Server VM 25.232-b09 *Runtime:* OpenJDK Runtime Environment 1.8.0_232-b09 *System:* Linux version 5.3.16-300.fc31.x86_64 running on amd64; UTF-8; en_US (nb)
Re: Android app development.
Thank you to all who gave advice. I think I have an idea of what I need to do. I'm actually going to create a separate project in Android Studio. This project is going to extend the application's core functionality which is implemented in JARs generated from my Netbeans projects. Currently however, there needs to be some separation of the core functionality from platform considerations embedded in the JARs, so it looks like I'll need to modify the Netbeans projects so they specifically remove the considerations relating to any hardware platform from the implementation of the application's core functionality. Thanks again, Owen. -- I'll cut your code at an intensity and from a place of my own choosing. Clique Space(TM). Anima ex machina.
How to determine ProjectCustomizer.Registration.projectType of project
Hi, I want to find out the @ProjectCustomizer.Registration.projectType (something like "org-netbeans-modules-maven") of an existing project in my IDE, which seems to be missed by my own @Registrations. But I have no idea what projectType ID I need to register my customizer for. The Properties explorer doesn't help here (as it does in so many other places in NetBeans), so I am at a bit of a loss how to figure out the projectType ID so that my plug-in matches this type of project as well. Alternatively, does there exist something akin to "folder/any" for project types? Having to manually list all elements of an infinite set seems ... not the best idea. Best wishes, Andreas -- Dr. Andreas Sewe | s...@cqse.eu | +49 152 56342856 CQSE GmbH | Centa-Hafenbraedl-Strasse 59 | 81249 Muenchen | www.cqse.eu Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas signature.asc Description: OpenPGP digital signature
Re: [JavaFX] project jar file
Without more info about what toolchain you are using to build your project such as which JDK, what toolchain etc we can only help to a point. If you project is modularised then you need to use jlink to have the JavaFX modules included in the runtime. If not, and I suspect this is what you are doing, you’ll need to change the way in which you build. One example is a shaded JAR that includes the OpenJFX dependencies and then a new main class that statically calls the main of the class that extends Application will do what this. > On 18 Dec 2019, at 18:26, Huckleberry Finn wrote: > > To create a deplyable version of my project I make a clean & Build project > on it. Netbeans will create a jar file in the dist subfolder of the project > along with the fx libraries in the lib subfolder of dist. > > When I run java -jar myproject.jar, I get > Error: JavaFX runtime components are missing, and are required to run this > application > How should I include the fx libraries inside the jar file 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.