On Sun, 26 Nov 2017 17:18:15 -0500 "William L. Thomson Jr." <wlt...@o-sinc.com> wrote:
> On Sun, 26 Nov 2017 14:11:18 -0500 > "William L. Thomson Jr." <wlt...@o-sinc.com> wrote: > > > There is also a StaticProcessor but seems only used by 1 class for > > icons. Also a LayerProcessor, which I assume generates layer info in > > manifest.mf. There were not many others. The others are in odd > > packages that are further down the dependency chain if not optional > > packages. > > Working with more processors, this is like the error I got from > StaticResourceProcessor. > > This is from ActionProcessor > > src/org/netbeans/core/windows/design/DesignView.java:130: error: > Cannot find resource org/netbeans/core/windows/design/DesignView.png > @ActionRegistration(iconBase = > "org/netbeans/core/windows/design/DesignView.png", Turns out I added the folder to classpath incorrectly. When I got that right it found the file. But then I got a new error... src/org/netbeans/core/windows/actions/ResetWindowsAction.java:60: error: Cannot find resource org/netbeans/core/windows/actions/Bundle.properties public static ActionListener reset() { ^ Not sure why pointing to reset. Seems the issue is it cannot find the Bundles.properties resource. Which only happens when using the ActionProcessor. Otherwise it is found. The path that fixes the icon for ActionProcessor seems to not help for this, despite the Bundle.properties being there. Playing with paths now. https://github.com/Obsidian-StudiosInc/os-xtoo/blob/master/eclass/java-netbeans.eclass#L126 -- William L. Thomson Jr.
pgpRR4HJ9BsDJ.pgp
Description: OpenPGP digital signature