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
-
Changelog:
1.1.2: Extracted scalariform preferences for NetBeans's formatter.
-
Build and publish-local
// for master branch cd nbsbt sbt > clean > compile > publish-local
// for 1.0.2-sbt-0.12.x branch 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:
// for sbt 0.13.x addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.1.2") // for sbt 0.12.x addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.0.2")
-
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.