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.
If my source directories are named: /home/mike/code/api/src/ /home/mike/code/impl/src/ /home/mike/code/contrib/src then I end up with 3 items in the project explorer named "src" (see attached) and there doesn't appear to be a way to rename them.
Created attachment 16113 [details] screenshot of project pane showing sources all showing same name.
turns out you can edit the label in the project properties/source page. The change is not immediately effective however. It would be nice to be able to edit the label in place.
There are still some bugs that cause some kinds of changes to freeform project configuration to not take effect immediately; these are being fixed. Workaround is to close and reopen the project, in some cases, or in other cases to restart the IDE. May consider in-place label changes (as well as D&D reordering etc.) but there is a danger of this being confused with renaming the actual directory, which is the normal behavior of in-place rename on directory-like elements in explorer trees.
BTW, the default name for source root should be the relative path if possible. http://projects.netbeans.org/nonav/buildsys/freeform-project-ui- spec.html#Step_4_Java_Package_Folders
Well apparently the wizard did not choose the right labels in that case. Mike should have gotten "api/src", "impl/src", and "contrib/src". Petr can you take a look at it?
May look better Checking in src/org/netbeans/modules/ant/freeform/ui/SourceFoldersPanel.java; /cvs/ant/freeform/src/org/netbeans/modules/ant/freeform/ui/SourceFoldersPanel.java,v <-- SourceFoldersPanel.java new revision: 1.14; previous revision: 1.13 done
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.