Giter VIP home page Giter VIP logo

sbt-eclipse-plugin's Introduction

sbt-eclipse-plugin

This is no more than a classpath container for Eclipse.

You just add it to your project and it will automatically include all dependencies under SBT's lib_managed.

  • Download the first release from the dist folder (click on the jar and then View Raw)
  • Drop it into your plugins Eclipse directory and restart
  • Right-click on the project -> Build path -> Add libraries...
  • Click on SBT Eclipse Classpath Container and Finish

Now all your SBT-managed dependencies are included in your project's build path.

Important note

If and only if you have trouble compiling, you will have to manually change the order of classpath inclusion. For this right-click project -> Properties -> Java Build Path -> Order and Export, and move SBT Dependency Library up - it needs to be listed before Scala libraries and the JRE.

Also, if you issue the sbt update action, then you need to refresh (F5) your project to take the changes into account.

Other issues

I only tested it with Eclipse 3.4 on Linux with Scala 2.7.5-final, and Eclipse 3.5 on Mac OS X with Scala 2.7.5-final. Please don't hesitate to contact me at francisco dot treacy at gmail.

To be done

  • Find how to programmatically move it up to avoid conflicts with Scala/JRE (according to people's feedback/ different environments)
  • Hide the lib_managed folder
  • Possibly ping for changes and refresh automatically
  • Set up an update site if there is enough interest

sbt-eclipse-plugin's People

Contributors

gekkio avatar

Stargazers

Jason Wynn avatar

Watchers

Jason Wynn avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.