Netbeans Platform referencing other module in layer.xml Tips
December 12th, 2008How do you reference some some instance from other module in the current module layer.xml ? In my case, I need this functionality/features because I create a module that act as branding module. In this branding module I declare the shortcut, windows, menu, etc. The other module is pure API and pure components.
Because of the above requirement I need to find a ways to reference or create instance of something from other module in the branding module, so nbres:// protocols was come to rescue.
In the example below, the settings and wstcref file of the TopComponent is located at other module (Core Module) and the layer.xml below is in the Branding module.


