This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270844

Summary: Options to invalidate the user cache
Product: platform Reporter: tdanard
Component: Launchers&CLIAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description tdanard 2017-06-09 16:58:15 UTC
I understand that the way to invalidate the cache is to change the last modification date of the .lastModified file.

This doesn't work well. On Windows, if your app is installed in C:\Program Files, changing the last modification date of this file requires administrator privileges while the actual goal was to essentially wipe out a directory that is accessible to the user.

I'd like an option --clearusercache added to the command line.