Giter Club home page Giter Club logo

sbteclipse's Introduction

sbteclipse Build Status

Plugin for sbt to create Eclipse project definitions. Please see below for installation details and the Documentation for information about configuring sbteclipse. Information about contribution policy and license can be found below.

For sbt 0.13 and up

  • Add sbteclipse to your plugin definition file (or create one if doesn't exist). You can use either:

    • the global file (for version 0.13 and up) at ~/.sbt/0.13/plugins/plugins.sbt
    • the project-specific file at PROJECT_DIR/project/plugins.sbt

For the latest version:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
  • In sbt use the command eclipse to create Eclipse project files

    > eclipse

  • In Eclipse use the Import Wizard to import Existing Projects into Workspace

Multi ScalaVersion support

Since Scala IDE 4.0 multiple scala versions are supported in a single eclipse workspace. The Scala IDE uses by default the highest supported scala version, 2.11 since Scala IDE 4.0 and 2.12 since Scala IDE 4.6. The default can be overwritten at workspace level or at project level. The latter is stored in the file .settings/org.scala-ide.sdt.core.prefs. This file can be generated with sbteclipse.

For sbteclipse 5.2.5 and up

Given Xi.Yi is the default Scala installation version of your Scala IDE, and Xp.Yp.Zp is the targetted scala version of your project, you add following in your sbt build file:

EclipseKeys.defaultScalaInstallation := "Xi.Yi" // "2.12" is the default
ScalaVersion := "Xp.Yp.Zp"

In case Xp.Yp < Xi.Yi, the lower scala.compiler.installation is configured at project level.

When you're using ScalaIDE-4.6.0 up to 4.7._ (until a new major scala version is the default), and x.y.z matches with one of the pre-installed scala compilers in the IDE, it should work fine out of the box.

For sbteclipse 4.0. up to 5.2.4

In case Xp.Yp = 2.10, the lower scala.compiler.installation is configured at project level.

When you're using ScalaIDE-4.0 up to 4.5._, and x.y.z matches with one of the pre-installed scala compilers in the IDE, it should work fine out of the box.

Contribution policy

Contributions via GitHub pull requests are gladly accepted from their original author. Before we can accept pull requests, you will need to agree to the Typesafe Contributor License Agreement online, using your GitHub account - it takes 30 seconds.

License

This code is open source software licensed under the Apache 2.0 License. Feel free to use it accordingly.

Maintainers

Releases

Maintainers must run git tag to tag a release. The release can then be pushed to bintray with sbt ^publish.

sbteclipse's People

Contributors

aldenml avatar alexarchambault avatar asflierl avatar benmccann avatar blaisorblade avatar corruptmemory avatar daenenk avatar dlandis avatar dnadolny avatar dotta avatar dragos avatar earldouglas avatar eed3si9n avatar er1c avatar etorreborre avatar gkossakowski avatar godenji avatar guymers avatar huitseeker avatar jroper avatar jsuereth avatar mageswaran1989 avatar mkurz avatar mseddon avatar philippus avatar philwalk avatar retronym avatar teldosas avatar

Watchers

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