On 07.09.22 23:33, Ludvík Michálek wrote:
Update: I found the cause of the issue, finally (thanks Stan).
1) I've created a git repository where I saved "default" preferences created by
fresh install of NB
nice! i used to do that too for my whole etc folder once to debug OS issues.
2) next, I overwrote those preferences with the backup of my previous
preferences
3) I compared the commits / made diff on the files and then went step-by-step
and replaced/reverted the files
Finally I found the single one that caused the problem:
File:
/Library/Application
Support/NetBeans/15/config/Preferences/org/netbeans/modules/masterfs/ui.properties
This file contains single line:
org.netbeans.io.suspend=1
I have changed the value from 1 to 0 and it works, while keeping all my
previous preferences! So all my issues were just caused by this single boolean
value. I don't understand which process and under which circumstances writes
this value, but definitely the Scan for external changes was heavily affected
by this, although the UI option seemed to be enabled.
fyi: this property is set by the second button next to the memory graph
in the tool bar ("Pause I/O Checks"). And it will indeed stop netbeans
from listening to external file changes as long its enabled.
good that you found the issue :)
-mbien
Hope this helps anyone in the future.
Thanks everyone,
Ludvik
On 7. Sep 2022, at 22:17, Ludvík Michálek <konfere...@bigfoot.cz> wrote:
Thanks to all of you that responded today (Alexander, Rtherman59), thanks for
your tips!
Finally, the tip below from Stan helped and saved me!
I can't believe I forgot such simple thing like removing/moving preferences -
the thing I always recommend to others :) This helped perfectly, although I
will have to explore how to get most of my previous preferences back, since I
really miss them - I've been importing them since v6, year by year..
THANKS again, you saved my day(s)!
Have a great day everyone,
Ludvik
On 7. Sep 2022, at 14:30, Giles Winstanley <s...@snaq.net> wrote:
One thing I've noticed over the last few NB releases (on macOS) is that it's
been very haphazard/flaky at reliably working after importing settings from a
previous version. On both NB14/15 I've had to start over with a fresh/blank
preferences folder for it to work reliably (and this even without any
non-standard plugins). Whether this has any bearing on your situation I don't
know, but that would be my first thing to try, and one you don't mention in
your list of things you've already tried.
Simplest thing would be to rename the existing folder ($HOME/Library/Application
Support/NetBeans/15) to something else (e.g. "15-old") while NB is closed, then
reopen. It should essentially start from scratch; see if that works. If no change then
you can revert to the old settings.
Stan
On 07/09/2022 12:16, Ludvík Michálek wrote:
Hello,
I have issue with NB suddenly stopped seeing external changes to files. I am
using this feature since NB 6/7 (or so) and it has been working well all the
time.
Suddenly, it stopped working. I have suspicion that it is related to updating
the JDK recently.
I am using the feature together with remote-upload feature of project, but it
does not work even without remote upload.
Before, when I created a file or folder in Finder, NetBeans automatically
refreshed and showed the changes in the Project/Files tree.
Now I have to run the "Scan for external changes" menu command all the time,
which completely wastes my workflow, because I use external watchers (webpack or gulp) to
build the project and then rely on NetBeans to upload the changes to remote server.
I have tried almost everything, googled whole day but found no solution,
nothing helped:
* creating another, clean project
* reinstalling NB, updating from version 14 to 15
* uninstalling and reinstalling JRE
* uninstalling and reinstalling JDK
* checking permissions
* enabling Security>Accessibilty and Security>Full-disk access to
NetBeans and java processes
* re-enabling "Miscellaneous > Files > Enable auto-scanning of
sources" option in Options
* restarting NB
* restarting Mac
* .. everything above in different order, several times :(
My configuration:
================
- JDK version installed: jdk-18.0.2.1.jdk
- JRE version: build 1.8.0_341-b10
- OS: Mac OS 12.5.1 Monterey, Intel x64
Any idea, anyone?
Thanks for help,
Best,
--
Ludvík Michálek
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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