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 171996 - Use subdir of java.io.tmpdir, not tmpdir itself in project chooser if netbeans.full.hack
Summary: Use subdir of java.io.tmpdir, not tmpdir itself in project chooser if netbean...
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 04:21 UTC by _ tboudreau
Modified: 2016-07-07 08:37 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2009-09-11 04:21:36 UTC
It is nice that if you run the tryme target from NetBeans sources, the default directory for new projects is the system
tmp dir.

However, on Windows, this directory is frequently *huge*, because it is not cleared on shutdown.  This makes all file
choosers (consider that Windows file choosers are slower than most anyway) *extremely* slow.  Trying to find and open a
project in the midst of thousands of directories named things like "vcs-1252634888516" can mean several minutes of
scrolling.

A better solution, at least on Windows, would be to create a directory "nbtemp" underneath the system temporary dir and
use that.  It would be both easier to clean up, and would avoid scrolling through (in my case) 7174 directories in the
project chooser.
Comment 1 Jesse Glick 2009-09-15 03:32:03 UTC
Not sure why this was reassigned; OpenProjectListSettings.getProjectsFolder has this logic.
Comment 2 Milos Kleint 2009-09-16 07:31:23 UTC
marking as enhancement as it doesn't affect the final product, afaik it's only pointing to the temp dir because we use
some kind of magic switch for dev builds.
Comment 3 Antonin Nebuzelsky 2010-03-29 14:11:09 UTC
Change of default owner.
Comment 4 Martin Balin 2016-07-07 08:37:13 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss