nbscala icon indicating copy to clipboard operation
nbscala copied to clipboard

Use Yenta to add friend dependency

Open jglick opened this issue 12 years ago • 2 comments

org.netbeans.modules.scala.maven.ModInstall can probably be rewritten to use org.netbeans.contrib.yenta:api which should be simpler and more maintainable. Can try to produce a pull request if you like. @og0815 @mkleint

jglick avatar Oct 06 '12 18:10 jglick

yenta is in central I understand. Sounds like a formalization of my reflection hack in ModInstall. Pro: externalizing the hack is good, less people have to know and maintain the gory details. Con: yet another external dependency. However from past experience the guts of netbeans module system don't change that frequently. What versions of netbeans are supported by the API? I think the current ModInstall code works in 7.2+ only.

mkleint avatar Oct 08 '12 17:10 mkleint

Right, currently designed only for 7.2+. Can be retrofitted to work with pre-ModuleData releases if people are still building plugins with older baselines.

jglick avatar Oct 09 '12 16:10 jglick