RE: Search for dependencies is not working

2020-04-13 Thread Greenberg, Gary
It means only that 11.3 was hanging on projects scanning and I do not have 
admin permissions to my work computer to change some Windows properties, as it 
was recommended. So, I switched back to 11.1.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]

From: Geertjan Wielenga 
Sent: Sunday, April 12, 2020 11:23 PM
To: Greenberg, Gary 
Cc: NetBeans Mailing List 
Subject: Re: Search for dependencies is not working


“I am still working with NB 11.1 as I have to use Java 8.”

What does that sentence mean?

Gj


On Mon, 13 Apr 2020 at 02:59, Greenberg, Gary 
mailto:ggree...@visa.com.invalid>> wrote:
I am still working with NB 11.1 as I have to use Java 8.
However, I found that now, when I am starting new project, I have to add all my 
Maven dependencies manually.
In Netbeans 8.2 they were automatically added when it searches .m2 repository.
Now, when I add annotation or variable of class that is not in standard JDK, it 
never finds them. See snapshot.
[cid:image002.png@01D6117A.4BCE4560]
All these jars already in my .m2 repository. I checked.
Was it a bug introduced or something is wrong with my settings.
If I manually add these dependencies, everything works.

Gary Greenberg
Staff Software Engineer
Data Product Development, BI-A
E: ggree...@visa.com
M: 650-269-7902

[EmailSig-TaglineVersion]



Re: Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Bradley Willcott
Ok, I renamed the "{HOME}/.cache/netbeans/11.3" directory to 
"{HOME}/.cache/netbeans/11.3-old", then restarted Netbeans.


After it had finished doing its 'Background scanning of projects', I 
then went to the "Services" tab, and opened the local repo.
It immediately started to re-index it.  The result was what I was hoping 
for!  Then I opened the 'central" repo, and it downloaded

the new index from there.

As someone reported hearing the man who had jumped off the Empire State 
building saying, on the way down: "So far so good!" :-)


So far so good,
Brad.

On 13/4/20 4:29 pm, Emilian Bold wrote:
You can always move those folders elsewhere then move them back. But I 
doubt it's related to the userdir, must be the cache.


--emi


On Mon, Apr 13, 2020 at 10:30 AM Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Hi,

That doesn't seem very practical, as it will blow away all my
settings.  Further, I'm look for an ongoing solution, as I will
want to clean out those old files on a regular basis.

Brad.

On 13/4/20 2:23 pm, Geertjan Wielenga wrote:


Maybe also remove cachedir and, if that doesn’t help, userdir.
Location of both is in the About box.

Gj

On Mon, 13 Apr 2020 at 08:20, Bradley Willcott
mailto:optusprepa...@gmail.com>> wrote:

Hi there.

I have deleted some old "-SNAPSHOT" versions of some
projects, from my
local repo.  However, Netbeans still thinks that they exist!

I have tried to get it to 'update index', both from the
'Services' tab,
and from the 'Options' dialog.  Nothing happens.

I have even deleted the 'mavenindex' directory, and restarted
Netbeans.
This just caused Netbeans to go into an apparent loop trying
to index.
After over 12 hours, I shutdown Netbeans to stop this
process. Still no
index!

Any ideas?

Thank you,
Brad.


-
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: Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Emilian Bold
You can always move those folders elsewhere then move them back. But I
doubt it's related to the userdir, must be the cache.

--emi


On Mon, Apr 13, 2020 at 10:30 AM Bradley Willcott 
wrote:

> Hi,
>
> That doesn't seem very practical, as it will blow away all my settings.
> Further, I'm look for an ongoing solution, as I will want to clean out
> those old files on a regular basis.
>
> Brad.
> On 13/4/20 2:23 pm, Geertjan Wielenga wrote:
>
>
> Maybe also remove cachedir and, if that doesn’t help, userdir. Location of
> both is in the About box.
>
> Gj
>
> On Mon, 13 Apr 2020 at 08:20, Bradley Willcott 
> wrote:
>
>> Hi there.
>>
>> I have deleted some old "-SNAPSHOT" versions of some projects, from my
>> local repo.  However, Netbeans still thinks that they exist!
>>
>> I have tried to get it to 'update index', both from the 'Services' tab,
>> and from the 'Options' dialog.  Nothing happens.
>>
>> I have even deleted the 'mavenindex' directory, and restarted Netbeans.
>> This just caused Netbeans to go into an apparent loop trying to index.
>> After over 12 hours, I shutdown Netbeans to stop this process. Still no
>> index!
>>
>> Any ideas?
>>
>> Thank you,
>> Brad.
>>
>>
>> -
>> 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: Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Geertjan Wielenga
I’d do it once to see if that makes a difference in order to narrow down
the solution to the problem.

Gj

On Mon, 13 Apr 2020 at 09:30, Bradley Willcott 
wrote:

> Hi,
>
> That doesn't seem very practical, as it will blow away all my settings.
> Further, I'm look for an ongoing solution, as I will want to clean out
> those old files on a regular basis.
>
> Brad.
> On 13/4/20 2:23 pm, Geertjan Wielenga wrote:
>
>
> Maybe also remove cachedir and, if that doesn’t help, userdir. Location of
> both is in the About box.
>
> Gj
>
> On Mon, 13 Apr 2020 at 08:20, Bradley Willcott 
> wrote:
>
>> Hi there.
>>
>> I have deleted some old "-SNAPSHOT" versions of some projects, from my
>> local repo.  However, Netbeans still thinks that they exist!
>>
>> I have tried to get it to 'update index', both from the 'Services' tab,
>> and from the 'Options' dialog.  Nothing happens.
>>
>> I have even deleted the 'mavenindex' directory, and restarted Netbeans.
>> This just caused Netbeans to go into an apparent loop trying to index.
>> After over 12 hours, I shutdown Netbeans to stop this process. Still no
>> index!
>>
>> Any ideas?
>>
>> Thank you,
>> Brad.
>>
>>
>> -
>> 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: Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Bradley Willcott

Hi,

That doesn't seem very practical, as it will blow away all my settings.  
Further, I'm look for an ongoing solution, as I will want to clean out 
those old files on a regular basis.


Brad.

On 13/4/20 2:23 pm, Geertjan Wielenga wrote:


Maybe also remove cachedir and, if that doesn’t help, userdir. 
Location of both is in the About box.


Gj

On Mon, 13 Apr 2020 at 08:20, Bradley Willcott 
mailto:optusprepa...@gmail.com>> wrote:


Hi there.

I have deleted some old "-SNAPSHOT" versions of some projects,
from my
local repo.  However, Netbeans still thinks that they exist!

I have tried to get it to 'update index', both from the 'Services'
tab,
and from the 'Options' dialog.  Nothing happens.

I have even deleted the 'mavenindex' directory, and restarted
Netbeans.
This just caused Netbeans to go into an apparent loop trying to index.
After over 12 hours, I shutdown Netbeans to stop this process.
Still no
index!

Any ideas?

Thank you,
Brad.


-
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: Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Geertjan Wielenga
Maybe also remove cachedir and, if that doesn’t help, userdir. Location of
both is in the About box.

Gj

On Mon, 13 Apr 2020 at 08:20, Bradley Willcott 
wrote:

> Hi there.
>
> I have deleted some old "-SNAPSHOT" versions of some projects, from my
> local repo.  However, Netbeans still thinks that they exist!
>
> I have tried to get it to 'update index', both from the 'Services' tab,
> and from the 'Options' dialog.  Nothing happens.
>
> I have even deleted the 'mavenindex' directory, and restarted Netbeans.
> This just caused Netbeans to go into an apparent loop trying to index.
> After over 12 hours, I shutdown Netbeans to stop this process. Still no
> index!
>
> Any ideas?
>
> Thank you,
> Brad.
>
>
> -
> 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: Search for dependencies is not working

2020-04-13 Thread Geertjan Wielenga
“I am still working with NB 11.1 as I have to use Java 8.”

What does that sentence mean?

Gj


On Mon, 13 Apr 2020 at 02:59, Greenberg, Gary 
wrote:

> I am still working with NB 11.1 as I have to use Java 8.
>
> However, I found that now, when I am starting new project, I have to add
> all my Maven dependencies manually.
>
> In Netbeans 8.2 they were automatically added when it searches .m2
> repository.
>
> Now, when I add annotation or variable of class that is not in standard
> JDK, it never finds them. See snapshot.
>
> All these jars already in my .m2 repository. I checked.
>
> Was it a bug introduced or something is wrong with my settings.
>
> If I manually add these dependencies, everything works.
>
>
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>


Netbeans 11.3: Not reindexing local maven repo

2020-04-13 Thread Bradley Willcott

Hi there.

I have deleted some old "-SNAPSHOT" versions of some projects, from my 
local repo.  However, Netbeans still thinks that they exist!


I have tried to get it to 'update index', both from the 'Services' tab, 
and from the 'Options' dialog.  Nothing happens.


I have even deleted the 'mavenindex' directory, and restarted Netbeans.  
This just caused Netbeans to go into an apparent loop trying to index.
After over 12 hours, I shutdown Netbeans to stop this process. Still no 
index!


Any ideas?

Thank you,
Brad.


-
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