You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Thomas Wolf <tj...@gmail.com> on 2021/12/01 21:55:03 UTC
NB 12.4 creating new project I get this error...
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
Re: Re: NB 12.4 creating new project I get this error...
Posted by Thomas Wolf <tj...@gmail.com>.
Hi Eric,
Thanks for the suggestion but I don’t think that’s the case. Eventually
creating a project with this exact same combination worked (but, again, I
don’t know what changes - removing an old ~/.netbeans/ or creating a
different project of same name elsewhere - caused it to work again).
I love that I’m up and running again, but hate that I haven’t got a clue
what fixed things :-( Next time, I will know how to set Netbeans to the
max logging level to hopefully get better insight.
Best,
Tom
On Dec 3, 2021 at 3:20:30 AM, Eric Bresie <eb...@gmail.com> wrote:
> Not sure if this is the case or matter anymore but
>
> There was a satriage in the path with a satriage project being created.
> So could this
>
> /Users/twolf/spectare/git/*satriage*/src/*satriage*
>
> be seen as a package within a package with the same name?
>
> Would a project with a different name work?
>
> Eric Bresie
> Ebresie@gmail.com
>
> 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 <x-apple-data-detectors://12>. 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-unsubscribe@netbeans.apache.orgFor additional commands, e-mail: users-help@netbeans.apache.org
>>>> For further information about the NetBeans mailing lists, visit:https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>>
>>>>
Re: Re: NB 12.4 creating new project I get this error...
Posted by Eric Bresie <eb...@gmail.com>.
Not sure if this is the case or matter anymore but
There was a satriage in the path with a satriage project being created. So could this
/Users/twolf/spectare/git/satriage/src/satriage
be seen as a package within a package with the same name?
Would a project with a different name work?
Eric Bresie
Ebresie@gmail.com (mailto:Ebresie@gmail.com)
> > > > > 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 (x-apple-data-detectors://12). 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-unsubscribe@netbeans.apache.org (mailto:users-unsubscribe@netbeans.apache.org)For additional commands, e-mail: users-help@netbeans.apache.org (mailto:users-help@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...
Posted by Thomas Wolf <tj...@gmail.com>.
Thanks a bunch.
Tom
On Dec 2, 2021 at 4:39:24 PM, Laszlo Kishalmi <la...@gmail.com>
wrote:
> Just add a system property <logger/package name>.level=< logging level >
>
> Example start netbeans with:
>
> netbeans -J-Dorg.netbeans.api.project.level=FINEST
> On 12/2/21 13:24, Thomas Wolf wrote:
>
> Hi again,
> I have no idea why, but using the package now works?!?!?!?!?
>
> The only thing I’ve done, afaik, since the last time when it didn’t work
> is to try creating a project with a directory still called ’satriage’ but
> in a different parent directory - and removing an old ~/.netbeans/
> directory (which appeared to be a leftover from NB 6.9 I discovered when
> trying to find anything ’nb’. :-(
>
> Anyway - my problem went away, but if anyone can tell me how to change
> Netbeans logging level globally, I’d appreciate the info. I’ll use that
> the next time I encounter something I can’t figure out.
>
> Best,
> Tom
>
>
> On Dec 2, 2021 at 4:12:46 PM, Thomas Wolf <tj...@gmail.com> wrote:
>
>> I just realized i hit ‘r’eply on a couple messages rather than ‘Reply to
>> all :-(
>> Just to summarize: I removed the ~/Library/Caches/NetBeans/* and
>> ~/Library/Application Support/NetBeans/** directories - and still get
>> the problem of NB not accepting my package because it’s supposedly also
>> used in a project named ’twolf’- which is also my userid.
>>
>> I’m not familiar with how Netbeans does logging. I looked at the
>> FileOwnerQuery.java file and see that it does do some logging at the “FINE”
>> level. Could someone tell me how I would turn that on? Perhaps in the
>> netbeans.conf file as a parameter? This way maybe I’ll get a clue as to
>> where Netbeans thinks the project is that supposedly owns the package
>> directory i’m trying to specify.
>>
>> Again, any help much appreciated.
>> tom
>>
>> p.s. if I create a ~/junk/satriage/src/ directory and specify that as my
>> source root, Netbeans accepts it - so it’s definitely something about the
>> ~/spectare/git/satriage/src/ directory location :-( I vaguely remember
>> creating such a directory a year or two ago - and possibly having created a
>> NB project that referred to it. But that project no longer exists on my
>> machine as far as I can tell (I did searches on ’twolf’, ’nbbuild.xml, etc.
>> to no avail).
>>
>>
>> On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi <la...@gmail.com>
>> 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-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail: users-help@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...
Posted by Laszlo Kishalmi <la...@gmail.com>.
Just add a system property <logger/package name>.level=< logging level >
Example start netbeans with:
netbeans -J-Dorg.netbeans.api.project.level=FINEST
On 12/2/21 13:24, Thomas Wolf wrote:
> Hi again,
> I have no idea why, but using the package now works?!?!?!?!?
>
> The only thing I’ve done, afaik, since the last time when it didn’t
> work is to try creating a project with a directory still called
> ’satriage’ but in a different parent directory - and removing an old
> ~/.netbeans/ directory (which appeared to be a leftover from NB 6.9 I
> discovered when trying to find anything ’nb’. :-(
>
> Anyway - my problem went away, but if anyone can tell me how to change
> Netbeans logging level globally, I’d appreciate the info. I’ll use
> that the next time I encounter something I can’t figure out.
>
> Best,
> Tom
>
>
> On Dec 2, 2021 at 4:12:46 PM, Thomas Wolf <tj...@gmail.com> wrote:
>> I just realized i hit ‘r’eply on a couple messages rather than ‘Reply
>> to all :-(
>> Just to summarize: I removed the ~/Library/Caches/NetBeans//and
>> ~/Library/Application Support/NetBeans//* directories - and still get
>> the problem of NB not accepting my package because it’s supposedly
>> also used in a project named ’twolf’- which is also my userid.
>>
>> I’m not familiar with how Netbeans does logging. I looked at the
>> FileOwnerQuery.java file and see that it does do some logging at the
>> “FINE” level. Could someone tell me how I would turn that on?
>> Perhaps in the netbeans.conf file as a parameter? This way maybe
>> I’ll get a clue as to where Netbeans thinks the project is that
>> supposedly owns the package directory i’m trying to specify.
>>
>> Again, any help much appreciated.
>> tom
>>
>> p.s. if I create a ~/junk/satriage/src/ directory and specify that
>> as my source root, Netbeans accepts it - so it’s definitely something
>> about the ~/spectare/git/satriage/src/ directory location :-( I
>> vaguely remember creating such a directory a year or two ago - and
>> possibly having created a NB project that referred to it. But that
>> project no longer exists on my machine as far as I can tell (I did
>> searches on ’twolf’, ’nbbuild.xml, etc. to no avail).
>>
>>
>> On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi
>> <la...@gmail.com> 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-unsubscribe@netbeans.apache.org
>>>> For additional commands, e-mail:users-help@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...
Posted by Ernie Rael <er...@raelity.com>.
There's a plugin, https://plugins.netbeans.apache.org/catalogue/?id=40,
that allows *dynamic* control of loggers in the /running/ NetBeans. Its
wiki has an example, http://raelity.com/jlogman/Home.html#example,
showing how to control logging for sub-trees of the logger hierarchy.
Changes can be saved and applied automatically at startup.
-ernie
On 12/2/2021 1:24 PM, Thomas Wolf wrote:
> ... if anyone can tell me how to change Netbeans logging level
> globally, I’d appreciate the info. I’ll use that the next time I
> encounter something I can’t figure out.
>
> Best,
> Tom
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@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...
Posted by Thomas Wolf <tj...@gmail.com>.
Hi again,
I have no idea why, but using the package now works?!?!?!?!?
The only thing I’ve done, afaik, since the last time when it didn’t work is
to try creating a project with a directory still called ’satriage’ but in a
different parent directory - and removing an old ~/.netbeans/ directory
(which appeared to be a leftover from NB 6.9 I discovered when trying to
find anything ’nb’. :-(
Anyway - my problem went away, but if anyone can tell me how to change
Netbeans logging level globally, I’d appreciate the info. I’ll use that
the next time I encounter something I can’t figure out.
Best,
Tom
On Dec 2, 2021 at 4:12:46 PM, Thomas Wolf <tj...@gmail.com> wrote:
> I just realized i hit ‘r’eply on a couple messages rather than ‘Reply to
> all :-(
> Just to summarize: I removed the ~/Library/Caches/NetBeans/* and
> ~/Library/Application Support/NetBeans/** directories - and still get the
> problem of NB not accepting my package because it’s supposedly also used in
> a project named ’twolf’- which is also my userid.
>
> I’m not familiar with how Netbeans does logging. I looked at the
> FileOwnerQuery.java file and see that it does do some logging at the “FINE”
> level. Could someone tell me how I would turn that on? Perhaps in the
> netbeans.conf file as a parameter? This way maybe I’ll get a clue as to
> where Netbeans thinks the project is that supposedly owns the package
> directory i’m trying to specify.
>
> Again, any help much appreciated.
> tom
>
> p.s. if I create a ~/junk/satriage/src/ directory and specify that as my
> source root, Netbeans accepts it - so it’s definitely something about the
> ~/spectare/git/satriage/src/ directory location :-( I vaguely remember
> creating such a directory a year or two ago - and possibly having created a
> NB project that referred to it. But that project no longer exists on my
> machine as far as I can tell (I did searches on ’twolf’, ’nbbuild.xml, etc.
> to no avail).
>
>
> On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi <la...@gmail.com>
> 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-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@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...
Posted by Thomas Wolf <tj...@gmail.com>.
I just realized i hit ‘r’eply on a couple messages rather than ‘Reply to
all :-(
Just to summarize: I removed the ~/Library/Caches/NetBeans/* and
~/Library/Application Support/NetBeans/** directories - and still get the
problem of NB not accepting my package because it’s supposedly also used in
a project named ’twolf’- which is also my userid.
I’m not familiar with how Netbeans does logging. I looked at the
FileOwnerQuery.java file and see that it does do some logging at the “FINE”
level. Could someone tell me how I would turn that on? Perhaps in the
netbeans.conf file as a parameter? This way maybe I’ll get a clue as to
where Netbeans thinks the project is that supposedly owns the package
directory i’m trying to specify.
Again, any help much appreciated.
tom
p.s. if I create a ~/junk/satriage/src/ directory and specify that as my
source root, Netbeans accepts it - so it’s definitely something about the
~/spectare/git/satriage/src/ directory location :-( I vaguely remember
creating such a directory a year or two ago - and possibly having created a
NB project that referred to it. But that project no longer exists on my
machine as far as I can tell (I did searches on ’twolf’, ’nbbuild.xml, etc.
to no avail).
On Dec 1, 2021 at 6:07:02 PM, Laszlo Kishalmi <la...@gmail.com>
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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@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...
Posted by Thomas Wolf <tj...@gmail.com>.
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 <la...@gmail.com>
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 <la...@gmail.com>
> 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-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@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...
Posted by Laszlo Kishalmi <la...@gmail.com>.
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
> <la...@gmail.com> 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-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail:users-help@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...
Posted by Giles Winstanley <st...@snaq.net>.
I've certainly encountered something similar before, which seemed to be
related to trying to create a project with the same name as one NB
previously knew about. While I don't know about NB internals, from
memory I tracked it down to being related to NB's caching of "Open
Recent Project" info. If you can find a way to nuke that info
(unfortunately I can't remember how I did it) it may help. Possibly it's
related to the info in /projectui.properties/ (on macOS:
/~/Library/Application
Support/NetBeans/12.4/config/Preferences/org/netbeans/modules/projectui.properties/;
elsewhere on other platforms).
Stan
On 01/12/2021 23: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?
>
> 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
> <la...@gmail.com> 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-unsubscribe@netbeans.apache.org
>>> For additional commands, e-mail:users-help@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...
Posted by Thomas Wolf <tj...@gmail.com>.
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 <tj...@gmail.com> 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 <la...@gmail.com>
> 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-unsubscribe@netbeans.apache.org
>> For additional commands, e-mail: users-help@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...
Posted by Thomas Wolf <tj...@gmail.com>.
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 <la...@gmail.com>
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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@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...
Posted by Laszlo Kishalmi <la...@gmail.com>.
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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail:users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists