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 119578 - Files excluded in subdir are still project owned. Blocks simple source tree.
Summary: Files excluded in subdir are still project owned. Blocks simple source tree.
Status: RESOLVED DUPLICATE of bug 97168
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 10:07 UTC by unclefester
Modified: 2007-10-22 17:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unclefester 2007-10-21 10:07:34 UTC
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.]
Comment 1 Milan Kubec 2007-10-22 10:01:12 UTC
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.
Comment 2 Jesse Glick 2007-10-22 17:37:38 UTC

*** This issue has been marked as a duplicate of 97168 ***