I don't think we need masterfs in our application. What does this Watcher do exactly?
We are relying on NbPreferences to store/load preferences. Does this require masterfs? On Thu, Feb 15, 2018 at 4:31 PM, Jaroslav Tulach <[email protected]> wrote: > 2018-02-13 10:53 GMT+01:00 Humphrey Clerx <[email protected]>: > > > Thankx Emilian and Jaroslav, > > > > I'll try adding this flag to our application. Indeed it was caused by > > external drives (on a Solaris system). > > > > P.s. I also saw a property called > > org.netbeans.modules.masterfs.watcher.disable. Does it harm to also set > > this property to true? > > > > Do you need masterfs at all in your application? If you aren't dealing with > local files and showing the user content of a disk, then you may not need > any of the masterfs.* modules. Certainly, if you don't care about > refreshes, you can disable to watcher as well. > > -jt > > > > > > > > Greets, > > Humphrey. > > > > On Sun, Feb 11, 2018 at 6:10 PM, Emilian Bold < > [email protected]> > > wrote: > > > > > Might be valuable to investigate why it is causing hangs. It generally > > > shouldn't and might expose something in your code too. (Do you have > > network > > > drives on Windows or something?) > > > > > > As for disabling, define the system property netbeans.indexing. > > noFileRefresh=false > > > as shown here https://github.com/apache/incubator-netbeans/blob/ > > > 91ba983d23e837d0f3fab8959b451d86e7e7cd7f/core.ui/src/org/ > > > netbeans/core/ui/warmup/MenuWarmUpTask.java#L166 > > > > > > --emi > > > > > > -------- Original Message -------- > > > On 9 February 2018 8:12 AM, Humphrey Clerx <[email protected]> wrote: > > > > > > >Hello, > > > > > > > > Yes, I know this works in NetBeans itself. But it appears in my RCP > > > > application that we develop using the NetBeans platform. How can I > > > disable > > > > it there? > > > > > > > > Greets, > > > > Humphrey. > > > > > > > > On Thu, Feb 8, 2018 at 11:53 AM, Delfi Ramirez > > [email protected] > > > >wrote: > > > > > > > >>Hello Humphrey > > > >>try > > > >>Tools/Options/Miscellaneous/Files => ❑ Enable auto-scanning of > sources > > > >>cheers > > > >>On 08/02/2018 11:46, Humphrey Clerx wrote: > > > >>>Hello, > > > >>>Recently we switched from NetBeans 7.4 to NetBeans 8.2 and all of a > > > sudden > > > >>> our RCP application occasionally hangs while displaying the > "Checking > > > for > > > >>> external changes" progress bar. How can I disable this > functionality > > > in my > > > >>> RCP application? > > > >>>Thanks in advance, > > > >>> Humphrey. > > > >>> > > > >> > > > > > > > > > > > > > > > >In the mountains of truth, you never climb in vain - Nietzsche > > > > #------------------------------------------------------------- > > > > _O > > > > ,__/> > > > ><" > > > > ' > > > > > > > > > > > > > > > -- > > In the mountains of truth, you never climb in vain - Nietzsche > > #------------------------------------------------------------- > > \_O > > ,__/> > > <" > > ' > > > -- In the mountains of truth, you never climb in vain - Nietzsche #------------------------------------------------------------- \_O ,__/> <" '
