Re: NB 12.4 creating new project I get this error...
Hi Laszlo, I always use the same project type (Java with existing source), so Netbeans lets me specify the directories containing the source. In this case, this was a brand new git repository - i.e. a completely empty one. All I had added to this new repository is a ’src’ directory. So, no, there was no build script or anything else yet. When you suggest I create a folder in my $HOME/ and create a project in it, I assume you mean I should create a “Java with existing source” project there? I just tried that - and still get the same error dialog. Tom On Dec 1, 2021 at 6:27:47 PM, Laszlo Kishalmi wrote: > I'd try to create a new folder in your home and try to create a project in > it. > > However you said that you've created the project from Java Ant from > existing source. DOes not the existing source come with some build NetBeans > might recognize? > On 12/1/21 15:22, Thomas Wolf wrote: > > Hi Laszlo, > I checked my $HOME directory and I don’t have nbproject/, build.xml, > pom.xml, build.gradle, or settings.gradle there. Any other files I could > look for? > > Look all the parents of /Users/twols/spectare/satriage/src might find a > clue. > > > > Where does FileOwnerQuery get ’twolf’ from? Where is this information > stored? Does NB go through my entire filesystem looking for files like the > above to find existing projects? > > Any further help is appreciated, > Tom > > > On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi > wrote: > >> It seems you have already something in your (most probably home folder) >> what NetBeans detects as a project. >> >> We have a thing called FileOwnerQuery which shall able to say that a >> folder belongs to what project. In this case we call it on >> /Users/twols/spectare/satriage/src and we are expecting a null (not owned >> by any project), instead that query says that this folder belongs to a >> project called twolf >> >> So I'd look for project files like nbproject/ folder, build.xml, pom.xml, >> build.gradle and settings.gradle files in your home folder. >> >> >> On 12/1/21 13:55, Thomas Wolf wrote: >> >> Hi everyone, >> I’m at a loss here. I hope you guys can help: >> >> I created a completely new GIT repository on my mac at: >> >> /Users/twolf/spectare/git/satriage >> and then created a src/ directory under it. >> >> Next, I opened Netbeans and tried to create a project this way (have done >> this dozens of times without trouble): >> >> New Project… -> Java with Ant -> Java with Existing Source >> >> I enter a project name ‘satriage’ and hit ‘Next’ where I’m asked to enter >> a source package folder. I try to enter: >> >> /Users/twolf/spectare/git/satriage/src/ >> >> but I get an error message about that package having been used in another >> project??? (see attached error dialog) >> Nonetheless, I did a ‘grep -r ‘satriage’ . in my NetBeansProjects/ >> directory to see if any project references this directory - but none do. I >> also deleted $HOME/Library/Caches/NetBeans/12.4/ in case thee’s some old, >> cached info that might be to blame - but no luck. Still getting that error >> :-( >> Then I deleted $HOME/Library/Application Support/NetBeans/12.4 - still >> the same error :-( >> Next, I renamed my $HOME/NetBeansProjects/ directory - again, same error >> :-( >> >> In my desperation, I installed Netbeans 12.5 from scratch and without >> importing any settings from 12.4. But STILL the same error :-( Neither NB >> 12.4 nor 12.5 had any projects open when I did this, so how does NB decide >> that the package is in use in another project??? >> >> >> Again, in terms of env, I’m running NB 12.4 w. JDK 17 on macOS Monterey. >> >> If anyone has any ideas, please let me know. Thanks a bunch, >> tom >> >> >> - >> 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: NB 12.4 creating new project I get this error...
I'd try to create a new folder in your home and try to create a project in it. However you said that you've created the project from Java Ant from existing source. DOes not the existing source come with some build NetBeans might recognize? On 12/1/21 15:22, Thomas Wolf wrote: Hi Laszlo, I checked my $HOME directory and I don’t have nbproject/, build.xml, pom.xml, build.gradle, or settings.gradle there. Any other files I could look for? Look all the parents of /Users/twols/spectare/satriage/src might find a clue. Where does FileOwnerQuery get ’twolf’ from? Where is this information stored? Does NB go through my entire filesystem looking for files like the above to find existing projects? Any further help is appreciated, Tom On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi wrote: It seems you have already something in your (most probably home folder) what NetBeans detects as a project. We have a thing called FileOwnerQuery which shall able to say that a folder belongs to what project. In this case we call it on /Users/twols/spectare/satriage/src and we are expecting a null (not owned by any project), instead that query says that this folder belongs to a project called twolf So I'd look for project files like nbproject/ folder, build.xml, pom.xml, build.gradle and settings.gradle files in your home folder. On 12/1/21 13:55, Thomas Wolf wrote: Hi everyone, I’m at a loss here. I hope you guys can help: I created a completely new GIT repository on my mac at: /Users/twolf/spectare/git/satriage and then created a src/ directory under it. Next, I opened Netbeans and tried to create a project this way (have done this dozens of times without trouble): New Project… -> Java with Ant -> Java with Existing Source I enter a project name ‘satriage’ and hit ‘Next’ where I’m asked to enter a source package folder. I try to enter: /Users/twolf/spectare/git/satriage/src/ but I get an error message about that package having been used in another project??? (see attached error dialog) Nonetheless, I did a ‘grep -r ‘satriage’ . in my NetBeansProjects/ directory to see if any project references this directory - but none do. I also deleted $HOME/Library/Caches/NetBeans/12.4/ in case thee’s some old, cached info that might be to blame - but no luck. Still getting that error :-( Then I deleted $HOME/Library/Application Support/NetBeans/12.4 - still the same error :-( Next, I renamed my $HOME/NetBeansProjects/ directory - again, same error :-( In my desperation, I installed Netbeans 12.5 from scratch and without importing any settings from 12.4. But STILL the same error :-( Neither NB 12.4 nor 12.5 had any projects open when I did this, so how does NB decide that the package is in use in another project??? Again, in terms of env, I’m running NB 12.4 w. JDK 17 on macOS Monterey. If anyone has any ideas, please let me know. Thanks a bunch, tom - 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: NB 12.4 creating new project I get this error...
Forgot to mention - I also did a ‘find . -name twolf -print’ in my $HOME directory to see if there was another ’twolf’ directory/ somewhere - there wasn’t. Again, any other help is appreciated. Tom On Dec 1, 2021 at 6:22:20 PM, Thomas Wolf wrote: > Hi Laszlo, > I checked my $HOME directory and I don’t have nbproject/, build.xml, > pom.xml, build.gradle, or settings.gradle there. Any other files I could > look for? > > Where does FileOwnerQuery get ’twolf’ from? Where is this information > stored? Does NB go through my entire filesystem looking for files like the > above to find existing projects? > > Any further help is appreciated, > Tom > > > On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi > wrote: > >> It seems you have already something in your (most probably home folder) >> what NetBeans detects as a project. >> >> We have a thing called FileOwnerQuery which shall able to say that a >> folder belongs to what project. In this case we call it on >> /Users/twols/spectare/satriage/src and we are expecting a null (not owned >> by any project), instead that query says that this folder belongs to a >> project called twolf >> >> So I'd look for project files like nbproject/ folder, build.xml, pom.xml, >> build.gradle and settings.gradle files in your home folder. >> >> >> On 12/1/21 13:55, Thomas Wolf wrote: >> >> Hi everyone, >> I’m at a loss here. I hope you guys can help: >> >> I created a completely new GIT repository on my mac at: >> >> /Users/twolf/spectare/git/satriage >> and then created a src/ directory under it. >> >> Next, I opened Netbeans and tried to create a project this way (have done >> this dozens of times without trouble): >> >> New Project… -> Java with Ant -> Java with Existing Source >> >> I enter a project name ‘satriage’ and hit ‘Next’ where I’m asked to enter >> a source package folder. I try to enter: >> >> /Users/twolf/spectare/git/satriage/src/ >> >> but I get an error message about that package having been used in another >> project??? (see attached error dialog) >> Nonetheless, I did a ‘grep -r ‘satriage’ . in my NetBeansProjects/ >> directory to see if any project references this directory - but none do. I >> also deleted $HOME/Library/Caches/NetBeans/12.4/ in case thee’s some old, >> cached info that might be to blame - but no luck. Still getting that error >> :-( >> Then I deleted $HOME/Library/Application Support/NetBeans/12.4 - still >> the same error :-( >> Next, I renamed my $HOME/NetBeansProjects/ directory - again, same error >> :-( >> >> In my desperation, I installed Netbeans 12.5 from scratch and without >> importing any settings from 12.4. But STILL the same error :-( Neither NB >> 12.4 nor 12.5 had any projects open when I did this, so how does NB decide >> that the package is in use in another project??? >> >> >> Again, in terms of env, I’m running NB 12.4 w. JDK 17 on macOS Monterey. >> >> If anyone has any ideas, please let me know. Thanks a bunch, >> tom >> >> >> - >> 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: NB 12.4 creating new project I get this error...
Hi Laszlo, I checked my $HOME directory and I don’t have nbproject/, build.xml, pom.xml, build.gradle, or settings.gradle there. Any other files I could look for? Where does FileOwnerQuery get ’twolf’ from? Where is this information stored? Does NB go through my entire filesystem looking for files like the above to find existing projects? Any further help is appreciated, Tom On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi wrote: > It seems you have already something in your (most probably home folder) > what NetBeans detects as a project. > > We have a thing called FileOwnerQuery which shall able to say that a > folder belongs to what project. In this case we call it on > /Users/twols/spectare/satriage/src and we are expecting a null (not owned > by any project), instead that query says that this folder belongs to a > project called twolf > > So I'd look for project files like nbproject/ folder, build.xml, pom.xml, > build.gradle and settings.gradle files in your home folder. > > > On 12/1/21 13:55, Thomas Wolf wrote: > > Hi everyone, > I’m at a loss here. I hope you guys can help: > > I created a completely new GIT repository on my mac at: > > /Users/twolf/spectare/git/satriage > and then created a src/ directory under it. > > Next, I opened Netbeans and tried to create a project this way (have done > this dozens of times without trouble): > > New Project… -> Java with Ant -> Java with Existing Source > > I enter a project name ‘satriage’ and hit ‘Next’ where I’m asked to enter > a source package folder. I try to enter: > > /Users/twolf/spectare/git/satriage/src/ > > but I get an error message about that package having been used in another > project??? (see attached error dialog) > Nonetheless, I did a ‘grep -r ‘satriage’ . in my NetBeansProjects/ > directory to see if any project references this directory - but none do. I > also deleted $HOME/Library/Caches/NetBeans/12.4/ in case thee’s some old, > cached info that might be to blame - but no luck. Still getting that error > :-( > Then I deleted $HOME/Library/Application Support/NetBeans/12.4 - still the > same error :-( > Next, I renamed my $HOME/NetBeansProjects/ directory - again, same error > :-( > > In my desperation, I installed Netbeans 12.5 from scratch and without > importing any settings from 12.4. But STILL the same error :-( Neither NB > 12.4 nor 12.5 had any projects open when I did this, so how does NB decide > that the package is in use in another project??? > > > Again, in terms of env, I’m running NB 12.4 w. JDK 17 on macOS Monterey. > > If anyone has any ideas, please let me know. Thanks a bunch, > tom > > > - > 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: NB 12.4 creating new project I get this error...
It seems you have already something in your (most probably home folder) what NetBeans detects as a project. We have a thing called FileOwnerQuery which shall able to say that a folder belongs to what project. In this case we call it on /Users/twols/spectare/satriage/src and we are expecting a null (not owned by any project), instead that query says that this folder belongs to a project called twolf So I'd look for project files like nbproject/ folder, build.xml, pom.xml, build.gradle and settings.gradle files in your home folder. On 12/1/21 13:55, Thomas Wolf wrote: Hi everyone, I’m at a loss here. I hope you guys can help: I created a completely new GIT repository on my mac at: /Users/twolf/spectare/git/satriage and then created a src/ directory under it. Next, I opened Netbeans and tried to create a project this way (have done this dozens of times without trouble): New Project… -> Java with Ant -> Java with Existing Source I enter a project name ‘satriage’ and hit ‘Next’ where I’m asked to enter a source package folder. I try to enter: /Users/twolf/spectare/git/satriage/src/ but I get an error message about that package having been used in another project??? (see attached error dialog) Nonetheless, I did a ‘grep -r ‘satriage’ . in my NetBeansProjects/ directory to see if any project references this directory - but none do. I also deleted $HOME/Library/Caches/NetBeans/12.4/ in case thee’s some old, cached info that might be to blame - but no luck. Still getting that error :-( Then I deleted $HOME/Library/Application Support/NetBeans/12.4 - still the same error :-( Next, I renamed my $HOME/NetBeansProjects/ directory - again, same error :-( In my desperation, I installed Netbeans 12.5 from scratch and without importing any settings from 12.4. But STILL the same error :-( Neither NB 12.4 nor 12.5 had any projects open when I did this, so how does NB decide that the package is in use in another project??? Again, in terms of env, I’m running NB 12.4 w. JDK 17 on macOS Monterey. If anyone has any ideas, please let me know. Thanks a bunch, tom - 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: Mysql [mysql] and Netbeans [java]
Send more details, please. The server logs for instance. Envoyé depuis mon appareil Galaxy Message d'origine De : Nigel Evenden Date : 01/12/2021 11:23 (GMT+01:00) À : James Ostrowick Cc : Apache Netbeans Mailing List Objet : Re: Mysql [mysql] and Netbeans [java] Tried but still get the error. Nigel On Wed, 1 Dec 2021, 03:50 James Ostrowick, mailto:ja...@ostrowick.co.za>> wrote: I’ve seen this happen before, especially on a linux machine, I usually just make sure that the entity has this at the top: @Entity @Table(name = “accounts”) i.e. ensure that the declaration for the table is in the correct case. Kind Regards, James Ostrowick On 30 Nov 2021, at 22:49, Nigel Evenden mailto:nc.even...@gmail.com>> wrote: I get an EJB error when running List.xhtml. It's looking for ACCOUNTS when I have an accounts table. I have set my.cnf to accept caps, but still get the error.
Re: Mysql [mysql] and Netbeans [java]
Tried but still get the error. Nigel On Wed, 1 Dec 2021, 03:50 James Ostrowick, wrote: > I’ve seen this happen before, especially on a linux machine, I usually > just make sure that the entity has this at the top: > > @Entity > *@Table(name = “accounts”)* > > i.e. ensure that the declaration for the table is in the correct case. > > Kind Regards, > James Ostrowick > > > On 30 Nov 2021, at 22:49, Nigel Evenden wrote: > > I get an EJB error when running List.xhtml. It's looking for ACCOUNTS > when I have an accounts table. I have set my.cnf to accept caps, but still > get the error. > > >