Re: Netbeans IDE 21 and Mac

2024-04-24 Thread Peter Hull
Hi Brian, I don't know the answer but for clarification: Where did you get NB from, and was it a zip or app package? What happened when you tried to open it - an error or nothing at all? Possibly this link might help? https://support.apple.com/en-gb/guide/mac-help/mh40616/mac Hope this gets

Re: Run-Time Error: email Validation project still giving errors

2024-03-12 Thread Peter Hull
I believe the correct answer was given by M Eggers in https://lists.apache.org/thread/pq84cb84w8822g9rt133vctc14nbzb9f If I take the suggestion from that message and edit the pom.xml in the project you attached earlier, then maven will compile it correctly. Peter

Re: NetBeans Node.js issue

2024-02-23 Thread Peter Hull
On Fri, 23 Feb 2024 at 14:58, Bujdosó Gyula wrote: > Thanks for the tip and help, sorry for the late reply. :) > > In the end it was 'which' command I located both node and npm in the > terminal as shown life: > I told you to use 'where', and of course I meant 'which' - apologies for that, I

Re: NetBeans Node.js issue

2024-02-22 Thread Peter Hull
On Thu, 22 Feb 2024 at 13:40, Bujdosó Gyula wrote: > > Thanks again, will try and find where I installed it. As long as it's on your path, on Windows powershell you can use command 'gcm', for example: > gcm node CommandType Name VersionSource --- -----

Re: Can't open the project

2024-02-08 Thread Peter Hull
Hi Zulfi, On Fri, 9 Feb 2024 at 04:38, Zulfi Khan wrote: > Hence I changed the name to ValidateName3 and it solved the problem. I'm glad you fixed it. I assume, when you say 'name', you changed the in the POM, is that correct? Because there is an optional element which sets the name that

Re: Can't open the project

2024-02-08 Thread Peter Hull
Hi Zulfi, On Thu, 8 Feb 2024 at 05:55, Zulfi Khan wrote: > Sorry your suggestion did not work. I don't know why you told me to rename, > this may disturb my internal links. I renamed it to ValidateName2 from "Open > project" window but it didn't work. Then I renamed it > ValidateName3 using

Re: Can't open the project

2024-02-07 Thread Peter Hull
For maven projects there are three "names" to consider - the name of the directory on disk, the display name and the maven artifact ID. If you open that ValidateName/emailValidator project and then, in project view, right click and select Rename... you will be able to rename one or all of these to

Re: Netbeans cannot access www.springframework.org

2024-02-02 Thread Peter Hull
Hi Gary, I tried this on Netbeans, using the XML snippet given in your link, https://docs.spring.io/spring-framework/reference/data-access/appendix.html#xsd-schemas-tx As soon as I typed a '<' the retriever started up and after a second or two I was presented with a list of tags to complete. If

Re: Changes of NB behavior with XML files

2024-01-31 Thread Peter Hull
I tested it on an XML file created with NB20 and I did get the and options, as well as However - is your XML valid? I believe that attribute values need quotes around them, so xmlns="http://www.springframework.org/schema/beans; not xmlns=http://www.springframework.org/schema/beans Maybe NB18

Release 20 Windows Installer

2023-12-04 Thread Peter Hull
Hi, I wanted to install NB20 on Windows so I went for the .exe installer. Edge gave me a warning that it might harm my computer and (after I checked the SHA512 was OK!) when I tried to install it, Windows said it was from an Unknown Publisher. Has NB never signed these installers or is it

Re: Netbeans 11.3 - can't push to remote

2021-01-19 Thread Peter Hull
On Tue, 19 Jan 2021 at 21:56, Thomas Wolf wrote: > On Jan 19, 2021 at 4:26:08 PM, Thomas Wolf wrote: > >> Hey everyone, >> I’ve got Nebeans 11.3 on macOS 11.2 and am trying to push my local >> changes to a recently created remote git repository. But NB keeps telling >> me about invalid

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-20 Thread Peter Hull
On Sat, 19 Dec 2020 at 22:42, Christopher C. Lanz wrote: > > I have changed the netbeans.conf and app.conf files to include > > -J-Xms512m -J-Xmx2048m As far as I know, that's the right way to increase Netbeans heap. Maybe check in the IDE log (just after the line that starts "Input

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Peter Hull
On Thu, 17 Dec 2020 at 11:52, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > Yup, we’ve mailed back and forth on this and it’s clear this is the > problem. > > While we're on the subject, do you know how an updated nb-javac will be released (I assume it's still under Oracle's

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Peter Hull
I think it's the use of the variable name 'permits' that is causing the error. The new sealed classes (see http://openjdk.java.net/jeps/360) thing uses permits as part of the class definition. I think it ought to be treated as a normal identifier when it's not part of class definition, but maybe

Re: How to reset/remove the stored Git password?

2020-12-03 Thread Peter Hull
On Thu, 3 Dec 2020 at 09:49, Peter Hull wrote: > > I can see implementations for Gnome, KWallet and Mac, not sure about > Windows. There is a class called FallbackProvider which is maybe used for > windows? > Sorry, last one. Specifically on Windows it does use the F

Re: How to reset/remove the stored Git password?

2020-12-03 Thread Peter Hull
On Thu, 3 Dec 2020 at 09:49, Peter Hull wrote: > On Thu, 3 Dec 2020 at 09:25, Thomas Kellerer wrote: > >> It would still be interesting where NetBeans stores that password. >> >> Ultimately NetBeans uses the Keyring class which delegates to a > platform-dependent Keyr

Re: How to reset/remove the stored Git password?

2020-12-03 Thread Peter Hull
On Thu, 3 Dec 2020 at 09:25, Thomas Kellerer wrote: > It would still be interesting where NetBeans stores that password. > > Ultimately NetBeans uses the Keyring class which delegates to a platform-dependent KeyringProvider.

Re: Netbeans 12.1: Cannot access java.lang?

2020-11-30 Thread Peter Hull
I would check: 1. Does your Java platform setup look reasonable? (in Tools | Java Platforms ) 2. Does this error occur for a new project or just existing ones? (e.g. set up a new "Java with Ant" application) I think I've seen something like this before and it was down to the Java platform

Re: Git status difference between build and command line

2020-04-17 Thread Peter Hull
On Thu, 16 Apr 2020 at 22:47, George Brooks wrote: > org.eclipse.jgit [5.5.0 5.5.0.201909110433-r] remains in 12.0-beta3, and so > do the icons indicating modified files despite what git status says at the > command line. Correct. There is a PR to update it:

Re: Git status difference between build and command line

2020-04-11 Thread Peter Hull
Hi George, I think it is this: https://issues.apache.org/jira/browse/NETBEANS-4005 Can you see if that matches up to your situation? Pete On Thu, 9 Apr 2020 at 16:24, George Brooks wrote: > > A PHP project in Netbeans 11.1 shows git status as "- nothing to commit, > working directory clean".

Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Peter Hull
Jaroslav Tulach was asking a couple of years ago whether it was also licensed CDDL. What happened to this line of thinking? https://github.com/javaee/javahelp/issues/45 On Tue, 17 Mar 2020 at 13:27, Geertjan Wielenga wrote: > > Here's the related issues, one of the very first: >

Re: Autoupdate problem

2020-03-04 Thread Peter Hull
st delete the previous > NBM+updates.xml files on the server and replace them with the new ones which > where automatically generated by the NB "Packages as NBM" command. > > > > Le mercredi 12 février 2020 à 20:21:15 UTC+1, Peter Hull > a écrit : > >

Re: Autoupdate problem

2020-02-12 Thread Peter Hull
On Wed, 12 Feb 2020 at 17:27, Jerome Lelasseux wrote: > Maybe you viewed the xml file using the builtin Firefox viewer which hides > the XML declaration part... Well I have learnt something anyway - yes I was using firefox. Looking at the code you should be seeing log lines like [exec] FINER

Re: Autoupdate problem

2020-02-12 Thread Peter Hull
I don't know the answer, but looking at the NB update center, the XML does start with an XML declaration and a DTD (see below), whereas yours does not. Maybe the DTD needs to be added? Pete http://www.netbeans.org/dtds/autoupdate-catalog-2_6.dtd;> On Wed, 12 Feb 2020 at 10:43, Geertjan Wielenga

Re: Netbeans can't find Classes with main function

2019-11-12 Thread Peter Hull
On Thu, 7 Nov 2019 at 11:38, Farouk Alhassan wrote: > Sure thanks. > > Hi Farouk, Have you filed an issue for this? As far as I can see it is a real bug but the fix is not straightforward. Peter

Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Peter Hull
On Fri, Aug 23, 2019 at 4:41 AM Alex Kotchnev wrote: >the code needs a few classes from the compiler tree API (e.g. > com.sun.source.util - TreePath, Trees, etc). I looked around but couldn't > find what dependency to add to the project instead. It seems that those > classes are still

Re: jTestField

2019-06-11 Thread Peter Hull
On Tue, Jun 11, 2019 at 12:09 AM wrote: > Entering data and depressing entry allows access to the contents the user has > entered but doesn’t go to the next field. Depressing tab moves the focus to > the next field but does not allow access to the data in the first field. I'm not sure exactly

Re: NetBeans 10 JUnit support

2019-01-14 Thread Peter Hull
On Fri, Jan 11, 2019 at 9:38 AM Peter Hull wrote: > If I can, I will try and manually get JUnit 5 tests working and make > list of what I had to add/change. I do need a bit more help on this (John McDonnell?) I added these files to netbeans/extide/ant/lib: * junit-platform-commons-1.3

Re: NetBeans 10 JUnit support

2019-01-11 Thread Peter Hull
On Fri, Jan 11, 2019 at 10:10 AM Tushar Joshi wrote: > I remember JUnit 3.8.1 being used for many years even when JUnit 4 was the > standard. > Project have reluctance for shifting an existing JUnit library for many > reasons. > > Given that we should have both JUnit versions 4.11 as well as

NetBeans 10 JUnit support

2019-01-10 Thread Peter Hull
Hi all, I was trying to add Tests to a Java SE project and it didn't work. So I went back to the simplest case to try again. 1. Create a new Java Application with default main class 2. Select Tools|Create/Update Tests, press OK 3. (IDE creates files and adds a default test for 'main') 4. Select

Re: Posible bug in Netbeans 10.0 - Macos 10.14.2 (Mojave)

2019-01-03 Thread Peter Hull
On Thu, Jan 3, 2019 at 4:34 PM Juan Miguel Escribano wrote: > The “system wait for” beach ball appears and Netbeans is unresponsive at all. > Need to force quit to exit Netbeans. > ¿Anyone can confirm that this problem is general or only mine, please? I was not able to repeat this with NB 8.2 /

Re: [DISCUSS] Apache NetBeans roadmap updates

2018-11-15 Thread Peter Hull
The 2 + 2 option makes sense to me. I'd be interested in hearing people's thoughts about how this lines up with JDK releases: * Is it better to do the NB testing after the general availability of the JDK, or aim to have them released about the same time? * What versions of JDK does Netbeans need

Using the profiler with JDK 11

2018-10-01 Thread Peter Hull
I have been trying to the use the NB9.0 profiler on a Java SE project and JDK 11, but I get a JVM crash. Before I put together a bug report, I'd be very grateful if anyone out there could just quickly let me know if they've either 1) seen this crash or 2) used the profiler successfully on this

Re: Netbeans won't create a project from cloned source

2018-09-28 Thread Peter Hull
On Fri, 28 Sep 2018 at 14:59 Roger Debry wrote: > I have students who are writing their first Java programs, and pushing > them to GitHub. > Are the students all using NetBeans? If so it might be easier for you to create and push an 'empty' NB project (just what New Java Application...

Re: Main-Class for Java Modular Project

2018-09-26 Thread Peter Hull
On Wed, 26 Sep 2018 at 13:01 Geertjan Wielenga wrote: > If you can provide step by step instructions with as much details as > possible, this is where you file your issue: > https://issues.apache.org/jira/projects/NETBEANS > > Will do.

Re: Main-Class for Java Modular Project

2018-09-26 Thread Peter Hull
; > https://github.com/GeertjanWielenga/JigsawJavaModularProjectSamples > > Gj > > On Wed, Sep 26, 2018 at 1:34 PM, Geertjan Wielenga > wrote: >> >> https://www.youtube.com/watch?v=jSqqLHCP9ms >> >> Gj >> >> On Wed, Sep 26, 2018 at 1:32 PM, Pete

Main-Class for Java Modular Project

2018-09-26 Thread Peter Hull
I created a new Java modular project (NB 9.0, openjdk 11) but I was unable to run it because no main class was specified, and it couldn't find any for me to choose from, in Browse Main Classes it said . I set the main.class property in nbproject/project.properties and now NB can run my main class

Re: Netbeans 9 profiler

2018-07-14 Thread Peter Hull
On Sat, Jul 14, 2018 at 10:39 AM Geertjan Wielenga wrote: > I hope you understand. We can’t create another whole new build and restart > voting from scratch at this stage, unless we as a community decide that this > is what must be done, delaying the release significantly. I do understand. Do

Re: Netbeans 9 profiler

2018-07-14 Thread Peter Hull
logs.apache.org/netbeans. > > Thanks, > > Gj > > > On Saturday, July 14, 2018, Peter Hull wrote: > >> On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer >> wrote: >> > >> > [Sorry if this appears twice, T-bird crashed while sending.] >> I only

Re: Netbeans 9 profiler

2018-07-14 Thread Peter Hull
On Fri, Jul 13, 2018 at 8:39 PM Glenn Holmer wrote: > > [Sorry if this appears twice, T-bird crashed while sending.] I only saw it once! > Yes, I couldn't find it either. FYI, this was reported during NetCAT: > > https://issues.apache.org/jira/browse/NETBEANS-298 I'm not sure it's the same

Re: Netbeans 9 profiler

2018-07-13 Thread Peter Hull
On Fri, 13 Jul 2018 at 12:51 Alan Mathewson wrote: > > Yes, I've just reported the bug. > As a matter of interest, could you let us know the bug report number as I'd like to see how it progresses? I tried to find it on the bug report site but the search feature is really limited. Pete

Re: NetBeans 9 RC1 and JDK 10

2018-07-03 Thread Peter Hull
On Tue, Jun 26, 2018 at 11:11 AM Peter Hull wrote: > I agree and I filed an issue (hopefully that was the right thing to do...) > https://issues.apache.org/jira/browse/NETBEANS-999 Looks like this has been resolved and a pull request has been made. https://github.com/apache/incubator-ne

Re: NB 9 RC1 exception

2018-06-29 Thread Peter Hull
` looks like it will be a bit of a challenge to understand! Pete On Fri, 29 Jun 2018 at 16:35 Peter Hull wrote: > On Fri, 29 Jun 2018 at 15:22 Mike Billman > wrote: > > Is anybody else experiencing this? > > I could not repeat it on my system but, is this the same as NETB

Re: NB 9 RC1 exception

2018-06-29 Thread Peter Hull
On Fri, 29 Jun 2018 at 15:22 Mike Billman wrote: > Is anybody else experiencing this? I could not repeat it on my system but, is this the same as NETBEANS-701 ( https://issues.apache.org/jira/browse/NETBEANS-701) ? Pete

Re: NetBeans 9 RC1 and JDK 10

2018-06-26 Thread Peter Hull
On Tue, Jun 26, 2018 at 10:09 AM Luff,Chris wrote: > @Dreamteam, does a feature exist so that be changed to a lightbulb instead of > a warning or is it something I need to get onto the backlog? I agree and I filed an issue (hopefully that was the right thing to do...)

NetBeans 9 RC1 and JDK 10

2018-06-26 Thread Peter Hull
I've downloaded and have been using RC1. Overall it's working very well for me. I have a quick question - is it possible to develop for a different JDK than the one that NetBeans itself is running on? NB is using JDK 1.8 but I have set up a "JDK 10" platform. I can select this and choose JDK10 as