Just propose a PR to turn friend packages to public packages for the 
`nativeexecution` API. CC jtulach and I integrate it.

-jt

PS: friend packages got overused in NetBeans. Shame on me for not being able to 
prevent that!


> 31. 5. 2026 v 1:42, Ernie Rael <[email protected]>:
> 
> You may find https://github.com/timboudreau/yenta useful.
> 
>  NetBeans module system hack allowing you to retroactively declare
>  your module a “friend” of another module offering a restricted API.
> 
> -ernie
> 
>> On 26/05/30 3:44 PM, Piotr Hoppe wrote:
>> About two years and many NetBeans releases have passed since the last news 
>> about C/C++ support was published, and we still haven't seen any progress 
>> with this.
>> When I want to use NetBeans with C/C++, I have to use tricks to run the old 
>> CND plugin on the current NetBeans release, but with every new version of 
>> NB, it gets harder to do that.
>> For this reason, I thought I could do something that might help someone.
>> Using AI, I extracted the C/C++ module from the cnd branch into a standalone 
>> plugin and uploaded it to a GitHub repository 
>> (https://github.com/piotrhoppe/netbeans-cnd). I thought it would help me use 
>> CND with the latest NB, but there is an issue with dependencies and I still 
>> need to do some tricks.
>> The `cnd.lsp` module uses the `nativeexecution` API, but is not listed in 
>> its friends. Is it possible to add the `cnd.lsp` module as a friend of the 
>> `nativeexecution` API in the next release of NetBeans? Should I prepare that 
>> change for NB?
>> If anyone is interested, please help me make the CND plugin great again! ;)
>> See you on https://github.com/piotrhoppe/netbeans-cnd
>> Piotr
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to