Giter Site home page Giter Site logo

scala-ide's Introduction

Scala IDE for Eclipse

This is the new home of the Scala IDE for Eclipse. Previously, source code was hosted on Assembla.

Tickets and documentation are still hosted by Assembla:

Build

The Scala IDE for Eclipse can be built on the command line using Maven, as is done, for example, during the Jenkins-driven nightly builds on jenkins.scala-ide.org. Using a Unix-like OS, the process is as follows ...

  • Requirements,

  • (Inital setup) Retrieve the source from its git repository, and make sure to checkout the wip_experiment branch # Clone and checkout wip_experiment branch $ git clone git://github.com/scala-ide/scala-ide.git # $ cd scala-ide

  • (Subsequent updates) Update the source from the repository, $cd scala-ide $git pull

  • Navigate to the build directory, cd org.scala-ide.build

  • Build using scripts provided, # For builds relative to Scala 2.8.0.final $ ./build-ide-2.8.0.final # # For builds relative to Scala 2.9.0.final $ ./build-ide-2.9.0.final # # For builds relative to Scala trunk $ ./build-ide-trunk.sh

Assuming your build is successful you should find an Eclipse update site has been built in org.scala-ide.sdt.update-site/target/site and a zipped version of the same at org.scala-ide.sdt.update-site/target/site_assembly.zip. You can install directly into Eclipse from this update site by adding it as a local update site via the Eclipse "Install New Software ..." action. Alternatively, if you make the unpacked site available via a web server, then the http URL of its root directory is acceptable as an ordinary Eclipse update site URL.

Working with local version of the Scala Presentation Compiler

  • Make your local changes in the scala compiler

  • Build the scala compiler, package into maven format and deploy locally, # You are in the main scala directory $ ant distpack-opt $ (cd dists/maven/latest; ant -Dlocal.snapshot.repository=${LOCAL_REPO} -Dlocal.release.repository=${LOCAL_REPO} deploy.snapshot.local) # If you use the standard .m2 location for maven, then the last command reduces to $ (cd dists/maven/latest; ant deploy.snapshot.local)

  • Go to directory where you cloned your scala-ide and run the necessary scripts that use your local trunk version $ (cd org.scala-ide.build-toolchain; ./build-toolchain-local-trunk.sh) $ (cd org.scala-ide.build; ./build-ide-local-trunk.sh)

If the build was successful you will end up with a right update-site - it contains the local changes you made in the scala compiler. It is possible to start the Eclipse instance with that plugin within your original workspace. You just have to have the following projects open org.scala-ide.{sdt.core, scala.compiler, scala.library}. Build sdt.core project within Eclipse and run the configuration using the weaving launcher.

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.