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 153717 - .netbeans directory created in home folder even when different user directory is specified
Summary: .netbeans directory created in home folder even when different user directory...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 08:37 UTC by firas_assad
Modified: 2008-12-22 11:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description firas_assad 2008-11-23 08:37:34 UTC
Build Number: Dev 200811221401
JDK version: 6 update 10

Observed Behavior:
Every time NetBeans is started and ${HOME}/.netbeans directory is not found, ${HOME}/.netbeans is created with only a
single file inside it (.superId), This happens although netbeans_default_userdir in etc/netbeans.conf is set to another
directory.

Expected Behavior:
NetBeans uses the directory specified by the user and stores .superId along with other files in user directory.

Steps to Reproduce:
- Open etc/netbeans.conf
- Change netbeans_default_userdir to a folder different than ${HOME}/.netbeans
- Start NetBeans IDE
- Note the creation of ${HOME}/.netbeans

Additional Information:
Happened in 6.5 too, but not 6.1
Comment 1 Peter Pis 2008-11-23 22:02:12 UTC
Reassigning to core for further evaluation.
Comment 2 Lukas Hasik 2008-11-24 15:46:12 UTC
jrechtacek, is it intentional?
Comment 3 Jiri Rechtacek 2008-11-24 16:18:56 UTC
Yes, tt's intentional, it's support for identifying NetBeans installation for prospective co-bundles like GlassFish.