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 42365 - User home directory parameter is incorrect, confusing & arbitrary
Summary: User home directory parameter is incorrect, confusing & arbitrary
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Other
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2004-04-23 02:22 UTC by Ben Hutchison
Modified: 2006-12-04 21:10 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 Ben Hutchison 2004-04-23 02:22:38 UTC
The versiopn control system has tried to store my 
cvspassword into a so-called home directory at 
c:\users\default. This path doesnt exist on my 
system and seems to be a completely arbritrary 
parameter embedded into the build.

Additionally, this important parameter is not 
editable or visible from the mount CVS filesystem 
screen. I discovered it in Options only by a time 
consuming abnd confusing search of the IDE.

The parameter should be based on the Java system 
property, or the directory used for CVS mount.

It should be visible on the CVS customizer.
Comment 1 Jiri Kovalsky 2004-04-23 05:16:20 UTC
Check this: "Tools | Options", click "Source Creation and Management |
Version Control Settings" and you will see "Home Directory". This is
where your .cvspass file should be located.
Do you think that this is not intuitive enough ? I think this option
is not being changed very often, is it ?
Comment 2 Martin Entlicher 2004-04-23 13:12:11 UTC
NetBeans search for .cvspass in location determined by HOMEDRIVE +
HOMEPATH environment variables. This is consistent with cvs.exe. If
HOMEDRIVE + HOMEPATH do not exist, "user.home" Java property is used.

BTW: which operating do you use? This logic applies to Windows only.
On UNIX, HOME variable is used (there is life much easier ;-)

This property is not editable from the filesystem customizer, because
it's not bind to any particular filesystem. This is a global property
and therefore it's in Tools->Options. Perhaps we should print the
location of .cvspass file somewhere and add a hint that it can be
changed in Tools->Options.

This is more like an enhancement. It's a UI problem.
Comment 3 Ben Hutchison 2004-04-24 09:41:38 UTC
Interesting... Im on Win NT4.0, and arent sure (but have a theory) how
my homedrive/homepath or user.home variables could have been set to
c:\users\default, since that path doesnt exist, but Im glad to hear
there is a method to it! 

So, I think improving the error message is enough: right now it says
"cvspass not found" - maybe add a suffix " at /X/Y/Z. Check your
cvspassword path at Tools->Options" :)