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.
We're trying to solve a problem which is described in issue #31663. Simply put, it's necessary to have a way to determine whether files, that are created on a VCS filesystem should be put into VCS or not. The VCS filesystem can not do that decission itself, because it does not have enough information, and modules that are creating the data have no way to pass the information to VCS filesystem. I had a private discussion with Peter about this and the conclusion was, that the current filesystems API is not sufficient to solve this problem, a more explicit protocol is needed. Peter suggested following: 1. User U says "Create an A" in clearcase filesystem F directory D to module X 2. X recognizes that that F is versioned using a new filesystem API 3. X asks U if the directories created for A should be versioned, and furthermore if the files created for A should be added to source control. 4. U says "yes" to both questions 5. X calls new filesystem API D.createVersionedDirectory() 6. Filesystem API delegates to VCS generic implementation 7. VCS generic implementation delegates to VCS profile commands 8. Clearcase command checks out D, does a "ct mkdir" to create the dir 9. X creates file F 10. Calls filesystem API "D.addToSource" 11. Filesystem API delegates to generic impl 12. generic impl delegates to clearcase 13. clearcase says "ct mkelem F" So this would require a few new APIs in the filesystem and some additional logic in modules that create directories (and projects as well, presumably).
SharabilityQuery does just this, I guess.
I agree. We'll implement a workaround for creating versioned folders in ClearCase as described in issue #31663.