You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/05/26 12:18:00 UTC

[jira] [Created] (NETBEANS-5711) Non-shared AuxiliaryInformation persisted in var/

Svatopluk Dedic created NETBEANS-5711:
-----------------------------------------

             Summary: Non-shared AuxiliaryInformation persisted in var/
                 Key: NETBEANS-5711
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5711
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Gradle Java EE, projects - Maven
    Affects Versions: 12.4
            Reporter: Svatopluk Dedic
            Assignee: Laszlo Kishalmi


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists