Scala projects with Eclipse PDE Build (2)
Some time ago, I wrote about
how to let Eclipse PDE Build automatically compile Scala projects.
For this, a special Ant script (
customBuildCallbacks.xml) had to be
created in the project’s root directory. This script looked for the
Scala library and compiler and then built the project’s source files.
This method still works. The OSGi bundles containing the Scala library and compiler are delivered together with the Scala IDE for Eclipse. This project is now not affiliated with the EPFL anymore and is developed mostly independently from the Scala tool chain. Due to this, the OSGi bundle names have changed and the Ant script from my previous post does not work anymore.
The following things have to be changed:
- The symbolic name of the Scala library OSGi bundle now starts with
- The compiler is now provided by a bundle whose name starts with
- The Scala Ant task now resides in
scala-compiler.jar, which is provided by the compiler bundle
I created a new script that can be downloaded here:
customBuildCallbacks.xml (4.0 KiB)
Posted by Michel Krämer
on 20 November 2010
Binary JSON with bson4jackson
This post introduces the open-source library bson4jackson, which is an extension to the Jackson JSON processor. It enables you to parse and generate documents in a binary JSON format called BSON.
Easier use of Git
Git is my version control system of choice. I really love it but I found myself having to type the same commands over and over again. In this article, I share my Bash aliases that help me speed up my workflow.
Build Scala projects with Eclipse Buckminster
Buckminster is a tool to build Eclipse RCP applications. It contains a lightweight Eclipse SDK and features but no means to build Scala projects yet. This post tries to bridge this gap.
Scala projects with Eclipse PDE Build
The Scala IDE does not support Eclipse PDE yet. This article explains how to configure your OSGi-based project, so you can run your PDE build in headless mode and compile your Scala code.
10 recipes for gradle-download-task
gradle-download-task is a Gradle plugin that allows you to download files during the build process. This post summarizes common patterns and use cases of gradle-download-task and provides useful tips and tricks.