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 11066

Summary: Can't "add" a file that is more than one directory deep in the filesystem.
Product: obsolete Reporter: Robert Watkins <rwatkins>
Component: vcscvsAssignee: issues@obsolete <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows 3.1/NT   
Issue Type: DEFECT Exception Reporter:

Description Robert Watkins 2001-04-05 00:39:45 UTC
CVS->Add on a file that is not in the root package for the filesystem fails. 
CVS->Add on a file that is in the root package works fine.

Here's the execution string for the successful version:
cmd /X /C "cd /D \"D:\work\main\PSNG\utest\.\"&&  \"cvs\" -d 
\":local:v:\"        add  -m \"\" \"XmlSuite.java\" "

Here's the execution string for the unsuccessful version:
cmd /X /C "cd /D \"D:\work\main\PSNG\utest\.\"&&  \"cvs\" -d 
\":local:v:\"        add  -m \"\" \"com\XmlSuite.java\" "

Finally, here's the Data Error output for the unsuccessful version.
[cvs [add aborted]: cannot open CVS/com\XmlSuite.java,t: No such file or 
directory]

I'm using NetBeans 3.2, beta build 17.

A simple workaround is to add the file via the command line, and commit it. 
NetBeans works fine for committing changes to an already entered file... it 
just doesn't let you add them in the first place.

CVS->Add on a package works fine. Here's an execution string for that:
cmd /X /C "cd /D \"D:\work\main\PSNG\utest\.\"&&  \"cvs\" -d 
\":local:v:\"        add \"com\qsipayments\psng\util\xml\" "
Comment 1 Martin Entlicher 2001-04-05 09:59:00 UTC
Already fixed in release32 build #20 or #21.
Comment 2 Robert Watkins 2001-04-17 02:11:38 UTC
Yep, it's fixed allright.
Comment 3 Jan Chalupa 2001-05-06 15:36:06 UTC
Target milestone -> 3.2