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 45816 - Freeform project wizard chooses potentially ambiguous display labels for existing source roots
Summary: Freeform project wizard chooses potentially ambiguous display labels for exis...
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-07-01 18:27 UTC by bondolo
Modified: 2006-03-24 09:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of project pane showing sources all showing same name. (15.73 KB, image/png)
2004-07-01 18:28 UTC, bondolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bondolo 2004-07-01 18:27:17 UTC
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.
Comment 1 bondolo 2004-07-01 18:28:00 UTC
Created attachment 16113 [details]
screenshot of project pane showing sources all showing same name.
Comment 2 bondolo 2004-07-01 18:55:36 UTC
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.
Comment 3 Jesse Glick 2004-07-05 19:05:22 UTC
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.
Comment 4 jrojcek 2004-07-12 12:39:14 UTC
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
Comment 5 Jesse Glick 2004-07-12 21:49:50 UTC
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?
Comment 6 Petr Hrebejk 2004-08-04 17:08:19 UTC
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
Comment 7 Marian Mirilovic 2005-12-20 15:50:30 UTC
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.