Re: Using the Debugger with Tests

2024-08-14 Thread Emma Atkinson
Neil Well blow me! That fixed the problem. Solution: *package names must be in lowercase text* Thank you. Emma On Wed, 14 Aug 2024 at 15:12, Neil C Smith wrote: > On Wed, 14 Aug 2024 at 14:53, Emma Atkinson > wrote: > > Debug File works only with the main application, not the

Re: Using the Debugger with Tests

2024-08-14 Thread Emma Atkinson
a On Wed, 14 Aug 2024 at 14:40, Neil C Smith wrote: > On Wed, 14 Aug 2024 at 14:27, Emma Atkinson > wrote: > > > > Hi > > I would like to be able to use the debugger while running a TestNG test > suite. > > > > To run the TestNG Test Suite I select the pr

Using the Debugger with Tests

2024-08-14 Thread Emma Atkinson
Hi I would like to be able to use the debugger while running a TestNG test suite. To run the TestNG Test Suite I select the project then using the Right Mouse Button >> *Test* (Alt F6). I would like to run the debugger, setting breakpoints etc. I have tried a number of ways without joy. How mig

Changing the version of Gradle for an old project

2024-03-21 Thread Emma Atkinson
Hello In earlier IDE versions I used to be able to select the version of Gradle used on a project (a drop-down list with white on white text, but which revealed the gradle version under the cursor). I cannot find that drop-down list in Netbeans IDE 21. What's the current recommended way to change

Suggested gradle improvement

2023-10-22 Thread Emma Atkinson
I have been doing a bit of programming recently. I'm giving Test Driven Development a go and have decided on using groovy Gradle instead of Ant for all of my projects. *(Aside: It feels premature to migrate to Kotlin Gradle right now under NB IDE 19.)* I would like to suggest adding a test debug

Re: Maven indexing

2023-03-14 Thread Emma Atkinson
I gave up on Maven a couple of years ago for the reasons already given. No matter what size partition I used it would be too small within a year or so. I used to grab the dependencies I needed and switched off the Maven Index download in NB. Recently (couple of years) I started using the Maven r

Adding a TestNG Test Case file does not work in NB IDE 16

2023-02-16 Thread Emma Atkinson
Hello I am using NB IDE 16 with Gradle 7.6. In the past I have hand-crafted TestNG Test Cases without relying on the Freemarker Templates. I tried and failed to add a TestNG Test Case to my project as follows: 1. From the Projects tab, select the Test Packages [java] in the tree node. 2. RMB men

Re: Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Emma Atkinson
7;t be white, those should be "grayed out" to make > the other versions stick out more. Red means no longer supported. > > -mbien > > On 22.01.23 15:49, Emma Atkinson wrote: > > Hello > > I'm using NB IDE 16 on UbuntuStudio and I have a minor problem with a &

Tools > Options > Java > Gradle drop down list

2023-01-22 Thread Emma Atkinson
Hello I'm using NB IDE 16 on UbuntuStudio and I have a minor problem with a dropdown list of Gradle Distribution Versions. To find the drop down list I am talking about navigate as follows: Tools > Options > Java > Gradle > Execution > Gradle Distribution Version > Use Standard Gradle Version I

New Gradle project creates the wrong sort of project

2023-01-16 Thread Emma Atkinson
I'm not sure if this is a bug or intended functionality. If I want to create a simple Java SE application Gradle project I do the following: Select New Project Select Java with Gradle Select *Java Application *for a simple application Click the Next button Enter a project name Click the Finish bu

New Simple Gradle Java Application with TestNG

2023-01-16 Thread Emma Atkinson
When NB IDE 16.0 creates a "simple" new Gradle Java project I presume it executes *gradle init *with some command line options. The *gradle init* command offers a choice of test frameworks. Netbeans chooses *JUnit Jupiter*. However, the *gradle init* command also offers *JUnit 4* (gradle's defa

Configuring NB IDE to show JavaFX Javadocs popups for modular Gradle projects.

2021-12-27 Thread Emma Atkinson
Is there an up-to-date guide or set of instructions describing the various ways I can set-up NB IDE 12.6 to show JavaFX (openjfx) v.17 Javadoc pop-ups for modular Gradle projects. I read recently a very well written JIRA case dated late 2019 summarising 6 sub-cases for each build setup. One of the

Re: NetBeans Platform "Golden Path"

2021-07-08 Thread Emma Atkinson
"The jlink tool links a set of modules, along with their transitive dependencies, to create a custom runtime image." JPMS is necessary if you want to use jlink, according to the oracle manual. It is the reason I am migrating my old programs to JPMS as and when the mood takes me. On Thu, 8 Jul 20

Re: removing the "new project" support for Ant projects

2021-04-23 Thread Emma Atkinson
Christoph It so happens I have just read a migration guide that looks reasonable and do-able. It's at https://docs.gradle.org/current/userguide/migrating_from_ant.html and addresses option for Ant and mentions Ivy. The guide suggests Ant and Gradle builds coexist until one has confidence that

Re: removing the "new project" support for Ant projects

2021-04-21 Thread Emma Atkinson
Surely the issue with any feature or function or tool is whether there is sufficient Dev support to fix emerging bugs, properly adapt to latest versions of Java lang, JFX, JLink etc and answer tricky questions from users. If Ant Dev expertise and time is getting harder to find it makes sense to pl

Re: removing the "new project" support for Ant projects

2021-04-20 Thread Emma Atkinson
I develop small projects and prototypes. I was considering migrating to Gradle when the time comes to retire Ant support. I have managed to get OpenJFX and linker working well enough under Ant. It helps that I was used to object linking in the 1980's on DEC PDP11s. Personally, I find Maven over

Re: Java FX Project identity

2021-03-24 Thread Emma Atkinson
Changing project type is not straightforward. I suggest you migrate an old project's source and test files to construct a new project (of different type) the best way you can. My experience follows. A year or two ago I tried to change a console program into JFX 11 + JDK 11 program within Netbeans

Re: Netbeans and malware article

2020-05-30 Thread Emma Atkinson
a blog entry with some response to >>> this. Just so that we have a central point to refer to when people ask >>> about this. >>> >>> However, I have no idea what that blog entry should say, beyond “if >>> someone wants to do so, they can inject malwar

Re: Netbeans and malware article

2020-05-30 Thread Emma Atkinson
Should someone from the Apache Netbeans governing team, approach Microsoft for information on this matter? I would have thought Microsoft GitHub would welcome any approach that might go some way toward tackling the problem. Knowing details should enable the Netbeans and NetbeansIDE communities to

Re: Netbeans long pauses

2020-05-13 Thread Emma Atkinson
One thought crossed my mind. If you haven't done so already, it might be worthwhile examining the command that starts Netbeans IDE. I used to have wierd trouble I didn't understand. After some experimenting, I thought it was due to the build of the jdk in the distro I was using. It's now a habit to

Bower Deprecated for New Projects

2020-04-10 Thread Emma Atkinson
I have been setting up Netbeans IDE 11.3 to have a go at developing a small JavaScript project. I followed the HTML/JS tutorial steps. When I went to set up Bower, the website said it was deprecated for new projects and directed me to Yarn, Webpack and Parcel. There was also a link to migrating

Re: JJazzLab : a music application based on the Netbeans Platform

2019-10-05 Thread Emma Atkinson
Hi Jerome I like the look and fancy giving it a spin. (My MIDI programs don't evolve pass the prototype stage, I'm sorry to say). I didn't find system requirements on your website. Is your program compatible with a 32-bit JRE? Are you particularly seeking Windows users or would feedback using ot

Re: property 'do.jlink.internal' not set

2019-07-18 Thread Emma Atkinson
in a reliable manner is particularly easy. Could it be as simple as displaying a warning recommending the user converts the application into a modular application if the Create jlink box is enabled but no module-info.java file? Regards Emma On Thu, 18 Jul 2019 at 11:38, Emma Atkinson

property 'do.jlink.internal' not set

2019-07-18 Thread Emma Atkinson
Hello I do not know if this is a bug. I have checked JIRA and nothing appeared to me. I am using Product Version: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) on JDK-11. Create New Project Select "Java with Ant Select "Java Application" Accept all defaults and tick

Re: Integration tests in NetBeans and module-info

2019-07-02 Thread Emma Atkinson
I too searched for a solution in my case with TestNG. I did not want to contaminate the module.info with test lines that had to be edited out once testing was passed successfully. Defeats one object of black box integration testing adding a risk that an inadvertent change crept in. My solution was

Re: Netbeans 11.0-vc4 with a Java EE project (Dataverse)

2019-03-28 Thread Emma Atkinson
Phil I think the error dialog saying Feature FeatureInfo[java] is incomplete: some module(s) are missing: org\.netbeans\.libs\.javafx\.(linux|win|macosx) might be caused by running on JDK8. When I used the option *--jdkhome * to specify jdk-11 (*please check the release notes for the right one

Netbeans 11.0-vc4 Observations

2019-03-28 Thread Emma Atkinson
Hi I found time to very quickly test Netbeans 11.0-vc4 with OpenJDK 11 and fill out the NetCAT survey. I apologise for missing the deadline. I have a couple of minor observations that you may be interested in. 1. I like the Git Toolbar buttons. I hadn't noticed them before. Most buttons have ic

Re: Netbeans ant build script not finding Log4j2 V2.11.1 module-info.class

2018-10-31 Thread Emma Atkinson
e JAR on the module-path. > > Thanks, > > Gj > > > On Wed, Oct 31, 2018 at 9:51 AM Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> Hi Emma, >> >> Please confirm that your scenario works now in 10vc2: >> >> https://cwiki.apac

Re: Netbeans ant build script not finding Log4j2 V2.11.1 module-info.class

2018-10-04 Thread Emma Atkinson
ncubator-netbeans/pull/941 > > We've identified the problem and done work on fixing it. > > Gj > > On Wed, Oct 3, 2018 at 1:55 PM Emma Atkinson > wrote: > >> I will try without using Netbeans but I do not have time to work on this >> until tomorrow. >> Th

Re: Netbeans ant build script not finding Log4j2 V2.11.1 module-info.class

2018-10-03 Thread Emma Atkinson
r help you could join the Log4J mailing list. I.e., if > something doesn't work outside NetBeans it won't work within NetBeans > either. > > Gj > > > On Wed, Oct 3, 2018 at 1:13 PM Emma Atkinson > wrote: > >> Screenshot.png shows how I have set up Netb

Netbeans ant build script not finding Log4j2 V2.11.1 module-info.class

2018-10-03 Thread Emma Atkinson
To recreate the test case and Netbeans set up. - I created a Java Application using the new project function. I set it up to run on JDK 10. - I added a module-info.java file using a RMB on Project Navigator > Log4j2TestCase > Source Packages > New > Java Module Info... - I crea

Re: Netbeans ant build script not finding Log4j2 V2.11.1 module-info.class

2018-10-03 Thread Emma Atkinson
#x27;t the import statements be this: >> >> import org.apache.log4j.LogManager; >> import org.apache.log4j.Logger; >> >> ...and not this: >> >> import org.apache.logging.log4j.LogManager; >> import org.apache.logging.log4j.Logger; >> >> ...if you're

Netbeans ant build script not finding Log4j2 V2.11.1 module-info.class

2018-10-03 Thread Emma Atkinson
I cannot find a way to make this work, I hope you can help. I should be happy to be pointed to an existing answer *The Problem* I have a very simple Java application demonstrating the problem I am having with using the latest Log4j2 V2.11.1 as a module (log4j.api) and building it in Netbeans. Th

[no subject]

2018-10-02 Thread Emma Atkinson
I have tried build a very simple Java application demonstrating a problem I am having with using the latest Log4j2 V2.11.1 as a module (log4j.api) and building it using the ant scripts. It compiles, builds and runs when I use the classpath, but cannot compile the module-info.java file when I use t

Multi Release JAR files

2018-10-02 Thread Emma Atkinson
OK

Re: Multi Release JAR files

2018-10-02 Thread Emma Atkinson
Geertjan, After a few false starts I have uploaded the simple test case for using a MR-JAR file as a module. The Git history shows it being used on the classpath fist then modified to use the modulepath. https://github.com/cosmiczoo/Log4j2TestCase Emma On Tue, 2 Oct 2018 at 15:15, Patrik Kar

Re: Multi Release JAR files

2018-10-02 Thread Emma Atkinson
I don't know if this might add to the discussion. I have tried build a simple Java application comprising 2 source files (Main.java and module-info.java) and have it call the default logger for Log4j2 V2.11.1 to output a single error message. Nothing more. I put the log4j-api-2.11.1.jar on the M

Start Page Blog

2018-09-25 Thread Emma Atkinson
Hi The start page has news and a blog. The news feed looks fine. However, my NB9 thinks the blog is at http://planetnetbeans.org/?utm_source=netbeans&utm_campaign=welcomepage I doubt others suffer this problem. I vaguely recall I edited one of the netbeans files many years ago (NB6 I think) af

Re: [VOTE] Apache NetBeans Logo

2018-03-02 Thread Emma Atkinson
If I qualify for a vote, it would be #1