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 99401

Summary: UI: items in lists in include/exclude wizard too long
Product: java Reporter: David Simonek <dsimonek>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker Keywords: UI, USABILITY
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 49026    

Description David Simonek 2007-03-29 16:08:04 UTC
This is usability request - when I tried powerful include/exclude pattern
mechanism for the first time, I was puzzled by the fact that whole path is shown
in the lists. I tried to set patterns like:

F:\Adoption\Excel\jexcelapi_2_6_1\jexcelapi\src\

instead of correct one

jexcelapi\src\

IMHO names of items in include/exclude lists should start with subfolders of the
source folder chosen in previous wizard step "Existing Sources"
Comment 1 Jesse Glick 2007-03-29 21:12:44 UTC
The reason it shows the full path is that it is (potentially) matching against
multiple source roots.
Comment 2 Jesse Glick 2007-10-27 21:00:48 UTC
Now shows relative path, unless you have >1 root, in which case it shows the complete path (since otherwise it would be
hard to distinguish between matches from the different roots).

Checking in IncludeExcludeVisualizer.java;
/shared/data/ccvs/repository/java/project/src/org/netbeans/spi/java/project/support/ui/IncludeExcludeVisualizer.java,v 
<--  IncludeExcludeVisualizer.java
new revision: 1.4; previous revision: 1.3
done
Checking in IncludeExcludeVisualizerPanel.java;
/shared/data/ccvs/repository/java/project/src/org/netbeans/spi/java/project/support/ui/IncludeExcludeVisualizerPanel.java,v
 <--  IncludeExcludeVisualizerPanel.java
new revision: 1.4; previous revision: 1.3
done