Re: Package x is declared in module y which is not in the module graph

2022-01-15 Thread John Mc
Could this be related to the Java Module System from Java 9+? Not used JMSmyself, just guessing here... John On Sat 15 Jan 2022, 22:01 Jack W., wrote: > > Not sure what's exporting to what, then. > This is a one-file project. > What is the brilliant idea here that I am missing by which Java

Re: KEYS file

2021-11-05 Thread John Mc
at 12:42, Jack W. wrote: > > > On Thu, Nov 4, 2021 at 12:13 AM John Mc wrote: > >> Same place it's always been, I believe: >> https://dist.apache.org/repos/dist/release/netbeans/KEYS >> >> If you search for previous vote threads it's usually included

Re: KEYS file

2021-11-04 Thread John Mc
Same place it's always been, I believe: https://dist.apache.org/repos/dist/release/netbeans/KEYS If you search for previous vote threads it's usually included in the first post. Regards John On Thu 4 Nov 2021, 03:23 Jack W., wrote: > Where is the pgp KEYS file hiding these days? > > -- > ---

Re: slightly off-topic: Can someone with BigSur or older help me out?

2021-10-18 Thread John Mc
Hi Thomas, I am running Catalina(10.15.7) and Amazon Corretto(15)[1], I used your code and didnt notice any problems, my cursor changed every time. Hope this helps. John [1]: *Product Version:* Apache NetBeans IDE 12.5 *Java:* 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 *Runtime:* OpenJDK

Re: [External] : Re: removing the "new project" support for Ant projects

2021-04-22 Thread John Mc
Just keep it simple: "Apache NetBeans recommends for beginners creating new projects with modern build/dependency frameworks like Maven or Gradle" I wouldn't include a reference, warning of its potential removal, since that's not been the common consensus here... Regards John On Thu, 22 Apr

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread John Mc
he data from the JAVA form and have it insert into >> the Derby table every time a user comes along and fills it out. >> >> Thanks. >> >> On 2021/03/14 20:10:35, John Mc wrote: >> > Amy, >> > >> > Have you tried googling? >> > >> > A

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread John Mc
Amy, Have you tried googling? A quick search found me: https://www.javaguides.net/2019/07/registration-form-using-java-swing-jdbc-mysql-example-tutorial.html?m=1 This shows you a simple swing application with MySQL. If you couple this with Geertjan's link it should get you what you want...

Re: runtime platform option missing

2021-01-14 Thread John Mc
Hi, I'd guess it's because in the youtube video, they created an Ant based Java Application in NetBeans 8, while in Apache NetBean 12.X Maven is the default build tool when you create a new Java Application. When I create a new Ant based java project I have that option in the project's

Re: NB12 - debugger is not going into the method

2020-07-05 Thread John Mc
Do you have a small example of this behaviour? I've not come across it myself, so without steps to reproduce, or a clear and simple example it might be hard to get someone to help you on resolving this issue... Regards John On Sun, 5 Jul 2020 at 06:03, Greenberg, Gary wrote: > I am trying to

Re: How do you setup JUnit with Maven?

2020-05-21 Thread John Mc
What version of JUnit are you using? If its JUnit 5, then you need to be running the Maven Surefire plugin > version 2.22 See https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html. Note this is referencing the latest version Also JUnit has a sample project for

Re: set sources for a project to jdk 14

2020-05-17 Thread John Mc
Hi, There is no Apache NetBeans 11.3, I suspect thats a typo? Also Apache NetBeans 11.3 doesn't support Java 14 sources, Java 14 only was released in March, and 11.3 was released before that. I suspect this will be possible in the upcoming LTS release, Apache NetBeans 12.0. If you want you can

Re: Netbeans should generate Maven projects with latest version

2020-04-30 Thread John Mc
Unless I'm mistaken, NetBeans uses the embedded NetBeans version, which for NetBeans 12.0 should have Maven 3.6.3 embedded. There will be another beta version of 12.0 out soon I believe, so maybe confirm this with that version? Regards John On Thu, 30 Apr 2020 at 20:16, Ty Young wrote: >

Re: [java] Google style for Java

2020-03-26 Thread John Mc
I had a first draft of a NetBeans plugin I worked on previously[1]. I'd fixed some issues, but was able to get the release done correctly... Need to come back to that. But what you could do is close that repo, build the project and install the nbm file into NetBeans as a plugin. Any issues,

Re: Statement of disappointment

2020-03-13 Thread John Mc
But instead of looking at this financial payment, why not consider an time/effort payment? At present, I cant really talk, I've been busy, and have provided anything back to NetBeans in a while but then I don't have any issues that are negatively effecting me. If and when I do I will hopefully

Re: 11.2 and JUnit 5 "no tests executed"

2019-12-18 Thread John Mc
> > > And now it works. Thanks for the help! > > > On Wednesday, December 18, 2019, 02:03:14 AM CST, John Mc < > mcdonnell.j...@gmail.com> wrote: > > > Hi > > What version of maven are you running? > > Include the maven surefire plugin but chec

Re: 11.2 and JUnit 5 "no tests executed"

2019-12-18 Thread John Mc
Hi What version of maven are you running? Include the maven surefire plugin but check the JUnit 5 documentation for what is the minimum version supported. I think off the top of my head it's something like 2.21 but double check on their site. I'd guess that when you include that plugin I to

Re: Static code analysis - FindBugs (SpotBugs) support

2019-11-27 Thread John Mc
Hi The find bugs module hasn't been donated yet it's due in a later donation - I've asked about it before. I had looked to start an alternative spotbugs plugin recently but switched to another plugin and then got busy at work so haven't yet been able to get back around to it. Regards John On

Re: "Compile on Save" option disabled for Maven WAR project in Netbeans 11.2, working in 11.1

2019-11-21 Thread John Mc
David, Do you have nb-javac installed as well? I might be wrong but I thought that CoS requires nb-javac Regards John On Thu, 21 Nov 2019 at 23:32, Josh Juneau wrote: > Thanks I will work on reproducing the issue. I appreciate your time. > > Josh Juneau > juneau...@gmail.com >

Re: Netbeans 11.1 extract local variable r

2019-10-02 Thread John Mc
What happens when you put your cursor on the first line? Do you get a hint in the left hand margin of the editor? This should do the same thing, creating a return variable. On Wed, 2 Oct 2019 at 04:17, Sahin gülci wrote: > Hi Emilian, > > I deleted the collect line but it is same, for you to

Re: Detected Maven Version: 3.3.9 is not in the allowed range [3.5.0,).

2019-10-01 Thread John Mc
Hi All, I think there might be an issue upgrading maven. I took a look a while back to see if it would make sense thinking, unwisely that it might not be too big of an effort... If I remember correctly, there's code in NetBeans that uses internal maven based code that has since been restricted

Re: NetBeans 11.1 + Maven + Lombok

2019-09-20 Thread John Mc
Thomas, What version of Lombok are you using? I have it working fine with Maven and NetBeans 11.1 but I might be using a slightly older version of Lombok(1.18.4). Regards John On Fri, 20 Sep 2019 at 11:11, Simeó Reig wrote: > I don't know if you still need it, we are using eclipse because

Re: cannot download jira plugin for netbeans 11.1

2019-08-25 Thread John Mc
ion, probably sometime > end of this year or beginning of the next. > > Gj > > On Sun, 25 Aug 2019 at 19:50, Geertjan Wielenga > wrote: > >> But where’s the source code? On hg.netbeans.org somewhere I guess. >> >> Gj >> >> On Sun, 25 Aug 2019 at 19:42

Re: cannot download jira plugin for netbeans 11.1

2019-08-25 Thread John Mc
gt; > Can you point me in the right direction? I don’t know about the JIRA > cluster. > > Gj > > On Sun, 25 Aug 2019 at 18:30, John Mc wrote: > >> Hi Mohamed, >> >> I asked a similar question a few weeks back. @Geertjan do you know what >> donation t

Re: cannot download jira plugin for netbeans 11.1

2019-08-25 Thread John Mc
Hi Mohamed, I asked a similar question a few weeks back. @Geertjan do you know what donation this is due in? I couldn't see a reference to the JIRA cluster here[1]. Regards John [1]: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition On Sun, 25 Aug 2019 at 16:50,