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.
It is much more user friendly to make the default folder as src/ when creating new files in a project. As of now (Build 200709200000), a few project types (BPEL module for example) do this on their own. The best thing would be for the new file wizard to have the default folder for a new file to be set to src/ instead of being blank. If the user wanted to they could still be able to edit the folder field and clear it to create in the project root if they wanted.
Increasing the priority since it blocks a p2 bug on XML
Reassigning to issues@projects
1. Seems like an RFE to me. A module is always free to define its own template wizard if it does not like the behavior of the standard ones. The project system code is behaving as designed. 2. Issue #114799 does not sound like a P2 to me. The user needs to decide where to put a new file. If any place in the project is potentially OK, then that is their choice, though a better default would be nicer. If it is really incorrect to place a new XML file in the root folder, then the template needs to use a different template wizard, e.g. the one in java/project which limits target folders to registered Java packages. 3. Proper fix requires introduction of a small new API to specify a suggested folder path for general file templates in a particular project. The path "src/" is currently conventional for non-freeform Ant-based projects, but not for freeform or Maven projects, and I'm not sure it is even correct for web apps using Jakarta conventions.
Change of default owner.
As explained in last comment, no plans to change current behavior.