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 54428 - Peculiar text for source dir if source dir == project root
Summary: Peculiar text for source dir if source dir == project root
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2005-02-03 04:02 UTC by _ tboudreau
Modified: 2005-03-25 11:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2005-02-03 04:02:04 UTC
(tried using sources of jnn.dev.java.net - using Project With 
Existing Ant Script)

If the project's source dir is the root of the project (i.e. some dir 
called com/ or org/ directly off the main project dir), the node for 
sources just gets the text ".".

This looks a bit strange - it looks more like a painting bug than 
anything that should be there.  Suggest using the project name 
instead, or "Sources" or something longer than "."
Comment 1 _ tboudreau 2005-02-04 18:49:01 UTC
Strangely, I created another project on a fresh userdir, and the full path to the source was 
there.  Hard to figure out what happened, as on my current build, restarting with the same 
userdir results in a NoClassDefFoundError from the editor, so I have to blow away my userdir 
on each restart.   (I'll file this once I'm sure it's not caused my any change on my local disk).
Comment 2 Jesse Glick 2005-03-24 18:45:44 UTC
Have working patch.
Comment 3 Jesse Glick 2005-03-25 11:08:42 UTC
Using "Source Packages" or "Test Packages" in this case.

committed   * Up-To-Date  1.14       
java/freeform/src/org/netbeans/modules/java/freeform/ui/Bundle.properties
committed   * Up-To-Date  1.16       
java/freeform/src/org/netbeans/modules/java/freeform/ui/SourceFoldersPanel.java
added       * Up-To-Date  1.1        
java/freeform/test/unit/src/org/netbeans/modules/java/freeform/ui/SourceFoldersPanelTest.java