Skip to content
/ nbsbt Public
forked from dcaoyuan/nbsbt

Plugin for sbt to create Netbeans project definition.

Notifications You must be signed in to change notification settings

phipma/nbsbt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbsbt

Plugin for sbt to create Netbeans project definition.

This project is derived from https://github.com/typesafehub/sbteclipse

  1. nbsbt requires sbt 0.13+

    for sbt 0.12.x, checkout branch 1.0.2-sbt-0.12.x

  2. Changelog:

    1.1.2: Extracted scalariform preferences for NetBeans's formatter.

  3. 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

  4. 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.5")
     // for sbt 0.12.x
     addSbtPlugin("org.netbeans.nbsbt" % "nbsbt-plugin" % "1.0.2")
    
  5. In sbt, you can use the command "netbeans" to generate NetBeans project files (Note: run this command under the top project):

     > netbeans
    
  6. Or, in NetBeans, you do not need to run "netbeans" command manually, NetBeans will handle it automatically.

About

Plugin for sbt to create Netbeans project definition.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%