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 200408241800) 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-b6 2; Sun Microsystems Inc. Java Home = C:\Program Files\java\jdk1.5.0\jre System Locale; Encod. = en_US (nb); Cp1252 Steps: 1. Register new VSS versioned directory and create in it new project. 2. On the root of the project invoke "VSS | Add All" action. Action fails with exception. ShowStopper.
Created attachment 17132 [details] exception
Also back-up files are added to the repository.
It looks like the problem occurs when the user name begins with lower case. It does not happen to me, because my user name begins with upper case.
Hopefully fixed in trunk, please verify. The case is ignored when comparing user names. Also, when ss.ini file is not found, NPE is not thrown and an error is reported on the error output. /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/GetInitializationVariable.java,v <-- GetInitializationVariable.java new revision: 1.2; previous revision: 1.1 /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/SetInitializationVariable.java,v <-- SetInitializationVariable.java new revision: 1.2; previous revision: 1.1
This is Q-build stopper, please fix this in QBE200408241800 branch too.
Now VSS Add All action fails when added structure contains empty folder.
We have to somehow disable ADD_ALL_CMD command on folders that are empty. There is, however, not a straightforward mechanism for that.
Not only empty folders, but also folders which contain only ignored files have to be skipped by ADD_ALL_CMD. I found this easier to implement directly in SharableFilesCommand class, which can detect this state and add only the folder (via Create Project command) and not it's content. Fixed in trunk: /cvs/vcsgeneric/src/org/netbeans/modules/vcs/profiles/commands/SharableFilesCommand.java,v <-- SharableFilesCommand.java new revision: 1.4; previous revision: 1.3 /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vss.xml,v <-- vss.xml new revision: 1.32; previous revision: 1.31 /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssLoc_XX.xml,v <-- vssLoc_XX.xml new revision: 1.26; previous revision: 1.25
Merged into QBE200408241800 branch: /cvs/vcsgeneric/src/org/netbeans/modules/vcs/profiles/commands/SharableFilesCommand.java,v <-- SharableFilesCommand.java new revision: 1.2.2.2; previous revision: 1.2.2.1 /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vss.xml,v <-- vss.xml new revision: 1.31.2.1; previous revision: 1.31 /cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vssLoc_XX.xml,v <-- vssLoc_XX.xml new revision: 1.25.2.1; previous revision: 1.25
Verified in NB 200408262030.