[ 
https://issues.apache.org/jira/browse/NETBEANS-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351876#comment-17351876
 ] 

Laszlo Kishalmi commented on NETBEANS-5711:
-------------------------------------------

Well, the Gradle implementation is almost a "mindless" copy of the Maven one.

The big question for me, that is it being used at all (in case of Gradle), as I 
saw that the project preferences are usually take precedence over these 
auxiliary configurations. So maybe (in case of Gradle) that can be safely 
removed.

> Non-shared AuxiliaryConfiguration 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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to