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.
Product Version = NetBeans IDE Dev (Build 201211020001) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_09 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02 I tried to change userdir by creating a netbeans.config in %userprofile%/etc Every setting is ignored. netbeans_default_userdir="d:/NetBeans/user" netbeans_default_cachedir="d:/NetBeans/cache" I tried this as well: userdir="d:/NetBeans/user" cachedir="d:/NetBeans/cache" and Changing the location to %userprofile%. And I tried backslash instead of slash (usually Java itself translates the slash into system directory separator).
Created attachment 126972 [details] IDE log
NetBeans launcher doesn't care about file netbeans.config in %userprofile% folder. You can edit or create netbeans.conf (note .conf not .config) in <default userdir>\etc\netbeans.conf but it's irrelevant to change there the userdir. If you want to change userdir and cachedir do it in <NetBeans installation folder>\etc\netbeans.conf
Of course netbeans.conf. Just a typo. And I found this: "netbeans_default_userdir The default location and name of the userdir . Note that this entry is only valid in the global configuration file. (It cannot be redefined in the local netbeans.conf file, because the launcher already needs to know the location of the userdir when the local netbeans.conf file is being processed.) " [http://wiki.netbeans.org/FaqNetbeansConf] But userdir is something different than %userprofile%. The latter only depends on the user who is logged in (and for which I want to specify individual dirs). Thus, it should be no problem to read this file just after the global conf file and before launching the rest. I created an isse (enhancement) 221351
(In reply to comment #3) > Of course netbeans.conf. Just a typo. > > And I found this: > "netbeans_default_userdir > The default location and name of the userdir . Note that this entry is only > valid in the global configuration file. (It cannot be redefined in the local > netbeans.conf file, because the launcher already needs to know the location of > the userdir when the local netbeans.conf file is being processed.) " > [http://wiki.netbeans.org/FaqNetbeansConf] That's right, you can specifi it in local conf, but it ignored. > But userdir is something different than %userprofile%. The latter only depends > on the user who is logged in (and for which I want to specify individual dirs). > Thus, it should be no problem to read this file just after the global conf file > and before launching the rest. I created an isse (enhancement) 221351 Ok, let's look on that issue.