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 170991

Summary: Image chooser (with Maven) doesn't look in "Other Sources" for images
Product: guibuilder Reporter: danie <danie>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: agerhard, jurib, monezz, tim_sa
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description danie 2009-08-27 13:59:40 UTC
When using Maven projects, images are typically located in src/main/resources. The Image chooser from Matisse however
only looks in src/main/java for images.
Comment 1 monezz 2012-01-25 12:54:28 UTC
Workaround is to use the ... (Browse Classpath) button next to the File list item. The classpath entries do contain resource folders (although they are pretty hard to find in the large list). After choosing the correct resource, the File list item contains other images for that classpath entry.
Comment 2 Tomas Pavek 2015-09-16 17:00:08 UTC
Made some improvements so that the image chooser prefers src/main/resources location.

http://hg.netbeans.org/jet-main/rev/9582c982eeac
Comment 3 Tomas Pavek 2015-09-16 17:02:53 UTC
*** Bug 194142 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Pavek 2015-09-16 17:03:28 UTC
*** Bug 205567 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Pavek 2015-09-16 17:04:03 UTC
*** Bug 254524 has been marked as a duplicate of this bug. ***
Comment 6 Quality Engineering 2015-09-18 01:40:28 UTC
Integrated into 'main-silver', will be available in build *201509180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9582c982eeac
User: Tomas Pavek <tpavek@netbeans.org>
Log: #170991: trying to make the image chooser better usable in maven projects, plus several minor usability fixes