Plugin for sbt to create Netbeans project definition.
This project is derived from https://github.com/typesafehub/sbteclipse
-
nbsbt requires sbt 0.13+ for sbt 0.12.x, checkout branch 1.0.2-sbt-0.12.x
-
Build and publish-local
cd nbsbt sbt clean compile publish-local
-
Add nbsbt to your plugin definition file. You can use either the global one at ~/.sbt/0.13/plugins/plugins.sbt or the project-specific one at PROJECT_DIR/project/plugins.sbt:
addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.1.0")
-
In sbt, you can use the command "netbeans" to generate NetBeans project files (Note: run this command under the top project):
> netbeans
-
Or, in NetBeans, you do not need to run "netbeans" command manually, NetBeans will handle it automatically.