emilianbold commented on issue #329: Setting tmp directory
URL: 
https://github.com/apache/incubator-netbeans/pull/329#issuecomment-353310717
 
 
   At patch level, it might be better to define a netbeans_default_tmpdir next 
to netbeans_default_cachedir above.
   
   I feel conflictual about this fix.
   
   On one side, it's good that NetBeans started respecting the OS cache dir. 
Long ago it did not and it was annoying on macOS, for example, because the user 
couldn't decide which data is safe to remove (to recover disk space) and which 
not. I also assume a lot of useless cache got backed up to Time Machine which 
is not good.
   
   macOS is pretty OK about setting (and clearing) the temp folder and it's 
rarely on another partition.
   
   On the other hand I can see how from a configuration or security standpoint 
it might be good not to have NetBeans leak files into various folders. But it 
feels like a user-configuration thing. (2GB for a temp folder doesn't seem like 
much, I'll compare with my machines).
   
   So, speaking of NETBEANS-210 I believe NetBeans should have some better user 
level message about needing extra disk space (it probably throws some error, 
no?).
   
   In order to help the (minority, I guess, of) users that are in this 
situation the script could use netbeans_default_tmpdir but initialize it by 
default with $TMPDIR.
   
   Thus, nothing should change for existing users. But users with smaller 
$TMPDIRs would just tweak netbeans_default_tmpdir in the script instead of 
learning about `java.io.tmpdir` and -J-D
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to