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 46248 - CVS: Ignore property problem.
Summary: CVS: Ignore property problem.
Status: CLOSED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: UI, USABILITY
Depends on:
Blocks:
 
Reported: 2004-07-16 15:49 UTC by Peter Pis
Modified: 2006-03-24 10:33 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 Peter Pis 2004-07-16 15:49:37 UTC
>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.
Comment 1 Martin Entlicher 2004-07-21 16:46:25 UTC
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.
Comment 2 Martin Entlicher 2004-07-21 16:47:31 UTC
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
Comment 3 Jiri Kovalsky 2004-07-22 13:29:00 UTC
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.
Comment 4 Jiri Kovalsky 2004-07-28 10:54:37 UTC
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.
Comment 5 Martin Entlicher 2004-07-30 15:03:11 UTC
We have to use HOMEDRIVE + HOMEPATH environment variables exclusively
on Windows instead of HOME when searching for .cvspass file.
Comment 6 Martin Entlicher 2004-07-30 16:00:52 UTC
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
Comment 7 Martin Entlicher 2004-07-30 16:02:02 UTC
The fix is reverted, resolving as "WONTFIX".
The user must assure that the HOME is correctly set, otherwise can not
log in.
Comment 8 Peter Pis 2005-06-16 13:11:11 UTC
Verified.