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.
>System Info: Product Version = NetBeans IDE Dev (Build 200407151800) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0-beta3; Java HotSpot(TM) Client VM 1.5.0-beta3-b5 7; Sun Microsystems Inc. Java Home = C:\Program Files\java\jdk1.5.0\jre Steps: 1. Try to login when you've got setup %HOME% variable. It is not possible to login when this property is incorrectly setup. This is problem of windows operatings system.
CVS.exe reads just the HOMEDRIVE and HOMEPATH anyway I think, so it should be enough to read these two and ignore HOME on Windows.
Fixed in trunk: /cvs/vcscore/src/org/netbeans/modules/vcscore/settings/GeneralVcsSettings.java,v <-- GeneralVcsSettings.java new revision: 1.15; previous revision: 1.14 /cvs/vcscore/src/org/netbeans/modules/vcscore/settings/VcsSettings.java,v <-- VcsSettings.java new revision: 1.14; previous revision: 1.13
I am sorry but it simply behaves the same way. Creating new environment variable HOME containing %HOMEDIR% value breaks possibility to login. Trying to verify in development build #200407220815 of NetBeans 4.0.
I guess possibility to login on Windows via the IDE is pretty low now. I tried to rename my %HOMEDRIVE%%HOMEPATH%.cvspass file. Then I tried to login but I was NOT able to create new .cvspass file in directory set in "Tools|Options". Increasing priority, this is serious problem and will possibly become this week's Q-build stopper.
We have to use HOMEDRIVE + HOMEPATH environment variables exclusively on Windows instead of HOME when searching for .cvspass file.
Acually no. The original fix of this issue was a mistake. HOME property has a higher precedence then HOMERDIVE + HOMEPATH. I'll revert the original fix, the user must set the HOME property properly or unset it. Setting HOME through "Home Directory" property in Tools Options should work O.K. now. /cvs/vcscore/src/org/netbeans/modules/vcscore/settings/GeneralVcsSettings.java,v <-- GeneralVcsSettings.java new revision: 1.17; previous revision: 1.16 /cvs/vcscore/src/org/netbeans/modules/vcscore/settings/VcsSettings.java,v <-- VcsSettings.java new revision: 1.15; previous revision: 1.14
The fix is reverted, resolving as "WONTFIX". The user must assure that the HOME is correctly set, otherwise can not log in.
Verified.