dcaoyuan / nbscala

NetBeans Plugin for Scala
247 stars 57 forks source link

Standard Platform module now provides a token #166

Closed lkishalmi closed 8 years ago

lkishalmi commented 8 years ago

In order to be add weak dependency on Scala Platform module, this module has to provide a token.

See: http://bits.netbeans.org/8.0/javadoc/org-openide-modules/org/openide/modules/doc-files/api.html#how-vers

So this commit makes other modules to be able to require of/depend on the existence of Scala Standard Platform module (and naturally it's dependencies). Like for groovy: cnb.org.netbeans.modules.groovy.kit

lkishalmi commented 8 years ago

I'm creating my own Gradle plugin for NetBeans https://trac.lkishalmi.eu/gradle-suite/ which supports Gatling and maybe other Scala based projects. For better user experience I would like to add some minor Scala specific stuff. In order to achieve this I need that your Scala Standard platform be installed in NetBeans. Requiring a token dependency is a nice and convenient way.