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.
7.1 dev. You cannot run the "Project Template" wizard with a j2seproject using a sharable ./lib dir because ProjectUtils.getSources(p).getSourceGroups(Sources.TYPE_GENERIC).length > 1; ./lib is returned as a separate generic root. Since this is inside the main project directory, it should be suppressed.
http://hg.netbeans.org/core-main/rev/c4169188fb00 I could not find any area where this would cause problems. please chime in if you know about any..
Seems OK; IIRC SourcesHelper already quietly drops registered TYPE_GENERIC roots which are in fact beneath the project root. Other code bypassing SH should do the same. Beware that FileUtil.isParentOf(sg.getRootFolder(), libLoc) does not include the case that sg.getRootFolder() == libLoc.
Integrated into 'main-golden', will be available in build *201302122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c4169188fb00 User: Milos Kleint <mkleint@netbeans.org> Log: #204232 only return project library root as separate source group if not inside the default project one.