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.
Summary: | [freeform] external Java source roots are not visible in files view | ||
---|---|---|---|
Product: | projects | Reporter: | David Konecny <dkonecny> |
Component: | Ant | Assignee: | David Konecny <dkonecny> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | phrebejk |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 42682 |
Description
David Konecny
2004-09-02 12:15:40 UTC
Sort of obscure case, I guess. Works fine if you select folders beneath the "source location" (even if the project folder is different). But if you choose unrelated Java source folders, does not create generic (untyped) <source-folder>s in project.xml. Currently FreeformSources interprets project.xml quite literally and only creates those generic groups that you explicitly specify. It *could* be more clever and quietly create a generic group for each typed group, which would solve this, but I am not sure that is the best fix - maybe better for wizard to just create the generic group too. No strong opinion. "maybe better for wizard to just create the generic group too." - yes, that's how I would like to implement it. Any added source folder (in wizard or in customizer) which is external will be added also as generic. Removal of such a source root will try to remove also generic one. It is similar to what Java Project with External Sources does. Implemented: src/org/netbeans/modules/ant/freeform/FreeformProjectGenerator.java; new revision: 1.24; previous revision: 1.23 src/org/netbeans/modules/ant/freeform/ui/ProjectModel.java; new revision: 1.4; previous revision: 1.3 test/unit/src/org/netbeans/modules/ant/freeform/ui/ProjectModelTest. new revision: 1.3; previous revision: 1.2 Verified. |