Hello,

Before 11.2, nb-javac was just suggested and downloaded as a plain 3rd
party plugin from the UC. Neat and clean.

In 11.2 there is this rather complicated setup that's getting hard to untangle.

So, following the spirit of the JavaFX plugins we use the same '3rd
party' *meta* update center which is just an XML generated at build
time together with the hollow NBMs.

The magic of these NBMs is that we use .external files for the real
GPL w/ CPE meat of things and these files have an URL pointing to
something like netbeans.osuosl.org .

Now, I'm trying to just include nb-javac at build time and don't need
all this complicated mechanism. Is it something obvious I'm missing
about how to do it?

I see that although we have java/libs.javacimpl the external JAR is
*not* copied to modules/ext. This seems like a 'standard' approach.

But it seems I still need the modules in nb/updatecenters/extras such
as nbjavac.impl, most likely for something magic like
OpenIDE-Module-Provides: org.netbeans.modules.nbjavac In which case
nbjavac.impl probably just needs to depend on libs.javacimpl?

I'll look some more about how this used to work in 8.2 or something.

The current mechanism is quite something. Bundling NBMs and UCs inside
the updatecenters.jar just so we can grab at runtime the magic JAR via
the URL in the .external file? Wowee.

--emi

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to