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 - Image chooser (with Maven) doesn't look in "Other Sources" for images
Summary: Image chooser (with Maven) doesn't look in "Other Sources" for images
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 194142 205567 254524 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-27 13:59 UTC by danie
Modified: 2015-09-18 01:40 UTC (History)
4 users (show)

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 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