This was buried in the other thread. Given how frustrating it was for
me. I thought I would make it more visible for others to find.

To resolve the following "Cannot find resource" simply add

--source-path src

Where src is the root folder of sources, like in any Netbeans project
in the repository. For some reason that stuff is not picked up
otherwise. Not by adding folder to classpath, etc.

That resolves exceptions such as the following.

src/org/netbeans/modules/extbrowser/BrowserUtils.java:36:
    error: cannot find resource
org/netbeans/modules/extbrowser/resources/browser_generic_16x.png
private static final String BROWSER_ICON =
"org/netbeans/modules/extbrowser/resources/browser_generic_16x.png";

src/org/netbeans/core/windows/actions/ResetWindowsAction.java:60:
    error: Cannot find resource
org/netbeans/core/windows/actions/Bundle.properties public static
ActionListener reset() {

-- 
William L. Thomson Jr.

Attachment: pgpMFHCy8GgeI.pgp
Description: OpenPGP digital signature

Reply via email to