Add cnd.lsp module to the friends list of the nativeexecution module#9420
Add cnd.lsp module to the friends list of the nativeexecution module#9420piotrhoppe wants to merge 1 commit into
cnd.lsp module to the friends list of the nativeexecution module#9420Conversation
jtulach
left a comment
There was a problem hiding this comment.
Opinion
- the list of "friend` modules" here is too long already
- hence turn it into simple
<public-packages>- just likenetbeans/platform/openide.execution/nbproject/project.xml
Lines 88 to 90 in ed40dbb
- this is an just opinion
- if others believe the "friend madness" shall continue
- I can approve the extra entry
- even I consider the list of more than hundred friends ridiculous
Request
- this change is missing versioning
- without versioning this change is subject to this linkage problem
- you have to increase version base:
- the
cnd.lspmodule must request the new version oforg.netbeans.modules.dlight.nativeexecutionotherwise the linkage error may pop up - this must be done regardless of my opinion or advice - hence requesting changes
Advice
- you should document the change at
apichanges.xmlfile - a file present in every decent API providing module - https://github.com/piotrhoppe/netbeans/blob/94cf34c11a72ae4823ee097c8a90dc5ff1a7642d/platform/openide.execution/apichanges.xml#L59
- verify with
ant javadocto see if that renders propery
- verify with
- alas the
apichanges.xml, file is missing in thedlight.nativeexecutionproject - asking an external contributor to add it may be too much
- here is a API Development link, if you want to try
- but this is not a request either
@jtulach the manifests are bumped once per release e.g #9344, but it also wouldn't hurt, outside of creating gaps in the released versions. |
I was about to comment that it would be better to leave that out. It does occasionally cause issues with reverts, and it's not really necessary given the version bumps and lack of a development UC. Other changes including removing friends usage, changing the dependency version and adding the API change info all agreed with. |
The
cnd.lspmodule uses thenativeexecutionAPI but is missing from its friends list. This PR addscnd.lspto the allowed friends of thenativeexecutionmodule.This is part of the ongoing work on standalone netbeans cnd plugin.
@jtulach please review.