How do I create a patch for a preexisting NetBeans module?
If you need to patch an existing module, you can place a JAR file relative to the original. For example, to patch ide5/modules/org-openide-example.jar you make a JAR like ide5/modules/patches/org-openide-example/mypatch.jar. The mypatch part of your JAR file patch can be named anything you like. The JAR file should only contain those classes you want to patch. It does not need a manifest, though an empty manifest is harmless. The patch must be in the same cluster as the original. (Issue 69794) So if you want to create an NBM containing a patch, you must ensure it will be installed in the same cluster (use the nbm.target.cluster property). Applies to: NetBeans 6.x Installing things declaratively as opposed to programatically Long ago, in a galaxy far far away, most objects in NetBeans were created during startup. That works fine for a small application. It is disaster for a large application – with each new component in the system, startup time gets longer, garbage collections get more