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 46244

Summary: CVS: Login problems due to incompatible format of .cvspass file.
Product: obsolete Reporter: Jiri Kovalsky <jkovalsky>
Component: vcsgenericAssignee: Richard Gregor <rgregor>
Status: CLOSED FIXED    
Severity: blocker Keywords: UI, USABILITY
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jiri Kovalsky 2004-07-16 15:28:03 UTC
Development build #200407151800 of NetBeans 4.0
Windows XP, JDK 1.5.0 Beta

Description:
============
Majority of CVS users may experience problems when
trying to login and use CVS support in NetBeans
using Command-line Client. The CVSROOT saving
algorithm should not use new format including port
number by default, only if some non-standard port
is used.

1. Have CVS 1.11 binary installed and used in the IDE.
2. Invoke "Versioning|Versioning Manager" menu.
3. Select CVS profile, setup some CVS server and
try to login using Command-line Client.
4. It will fail to login.
Comment 1 Martin Entlicher 2004-07-16 15:37:35 UTC
In case of default port 2401, we can use the old format, provided that
there is not the same CVSROOT with a different port already.
(Or we can detect the CVS version from "cvs -version").
Comment 2 Richard Gregor 2004-07-29 09:46:15 UTC
fixed in trunk.

Checking in CvsLoginCheck.java;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsLoginCheck.java,v
 <--  CvsLoginCheck.java
new revision: 1.7; previous revision: 1.6
done
Comment 3 Richard Gregor 2004-07-29 09:55:54 UTC
Fixed also in QBE200407271830.

Checking in CvsLoginCheck.java;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsLoginCheck.java,v
 <--  CvsLoginCheck.java
new revision: 1.6.6.1; previous revision: 1.6
done
Comment 4 Peter Pis 2004-07-29 17:36:51 UTC
Verified in NetBeans IDE Dev (Build 200407291100)
jdk1.5.0-beta3-b57