Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.4
-
None
-
None
Description
The implementation of gradle and maven project stores non-shared project AuxiliaryConfiguration contents as FileObject attributes which in turn is stored in $nbuser/var area. That are is however relatively 'transient' - although it's not in cache dir, which can be routinely wiped out by some users (e.g. in case of problems with the IDE), it is still outside of conf area that holds IDE configuration.
In addition, if a different userdir is used for the IDE run, these settings are lost / not propagated, which can be seen as a bug or as a feature
An alternative approach to AuxiliaryConfiguration can be developed that uses UserDefinedAttributeView from NIO - could work on all major platforms including Windows.
**I am not sure about having this implemented directly in FileSystem layer as some users may see the userdir-scoped storage as a feature. But definitely we can make a stock implementation in Project API, that will obey a setting: to work as it is now or use NIO APIs.
// cc: jtulach for comments.