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.
Wizard to create project from existing sources allows subdirectory source file to be excluded by pattern. However, when 2nd project is created to pickup excluded files IDE gives error 'owned by other project'. Also, there appears to be a basic problem with "existing sources" philosophy. Frequently existing source trees comprise a number of related but separate compilation units. Wizard created projects lock the top level directory with manifest .mf file. One way or the other .mf needs to be relaxed or source ownership of directories/files need to be relaxed. The current state of the IDE seems to contradict the philosophy of package equals directory. In the past one could write a simple batch file to compile different package units in a commonly rooted directory structure. There is no way to easily bridge these sort of source file trees to the new IDE. [NOTE: Not sure if this is filed on correct sub-component area. Please amend as needed for delivery to correct devs.]
I'd say - as designed and very difficult to change. IDE works with source root as minimum compilation unit, if you exclude some part of the tree, the excluded part is not used for compilation and for parsing when working in editor, but it's not possible to use excluded part in other project because the root is already owned by the project. I don't understand the third paragraph very well. You can always write your own script to compile whatever source structure you have, the you could use freeform project support. Jesse, please comment, mainly the exclude part. Thanks. I think it's rather enhancement.
*** This issue has been marked as a duplicate of 97168 ***