Skip to content

Eclipse Build Technologies: What are the Current Trends?

I recently had the opportunity to attend the symposium entitled “What’s in a build? Best practice and Requirements” given by Henrik Lindberg (Cloudsmith [1]) and Nick Boldt (JBoss – RedHat [2]) at the Eclipse Summit Europe 2010 in Ludwigsburg [3]. The goal was to brainstorm and discuss about the practices and current concerns when it comes to the build of Eclipse plug-ins, features or RCP applications, and the automatic execution of post-build processes such as testing.

Among the many popular build tools mentioned, Buckminster [12] , B3 [4], Tycho/Maven [8,9], Athena [5], PDE and Ant [7] or yet IVY [6], users are still concerned by the fact that there is a gap between the in-development IDE build and the headless build process. There is currently no straight “generate headless build using tool xxxx” button to trigger on the IDE side. The concern is that headless build and IDE build should be the same, at least for the same builds (i.e. excluding testing and maintenance builds for example which are not used during the coding phase) and getting headless build right from the IDE should be straight. Another usual fact is that the build process is generally seperated from the development stage of the application. The developper focuses only on getting working code for the application and does not care about the building process.

Within the participants, there was a majority who used a homegrown Ant script with PDE [7] for the build of their application. It seems to be a fact that setting up an Ant build script to trigger a headless PDE build is obvious, although not straight, between the Eclipse export product wizard and the headless build. Users recognize that using Ant with PDE gives quicker results, but they have to cope with the black box effect between the PDE used in the export product wizard and the headless version and have to spend much time in tweaking parameters, for an operation which should be identical to the one-click export wizard.

Another popular build integration tool is the couple Maven [8] and Tycho [9]. What came out from the discussion was that for the moment the tool is prefectly stable, it is for example used in production by SAP [10] and Sabre [11], even if does not quite works out of the box and some workarounds may need to be coded in order to fit the project. The project is still young and has been accepted as Eclipse project a few weeks ago and the community around the project seems rather active for the moment. Tycho can also relegate a part of the responsibility for a working build in the hands of developpers, who then would have to locally build their part before committing.

One of the recurrent comments about Buckminster [12] is about its steep learning curve. Only a minority in the audience (6 out of 50 persons) seem to have master it. However all who succeeded in implementing it claim that Buckminster is one of the best solutions when it comes to headless build. They also recommend it for its robustness and for the precision in the specification of the build components (optional dependencies, target platform materializing).

In the end, there seems to be no “ultimate guide” which one can follow in order to set up an headless build for Eclipse plug-ins, features or application. Also, many examples are available from other people who have implemented the build for their systems and the practice seems to observe them and adapt to the project.

Another ironical fact is that although the conference room was full of participants coming to learn about the build practices and complaining about the fact that generally documentation concerning build is very often outdated or inexistant, no one showed any interest when it came to talk about the good practices about the documentation of builds…

References

[1] Cloudsmith, www.cloudsmith.com

[2] Jboss – RedHat, http://www.jboss.com/

[3] What’s in a Build? – Best Practices and Requirements, http://www.eclipsecon.org/summiteurope2010/

[4] B3, http://www.eclipse.org/modeling/emft/b3/

[5] Athena, http://wiki.eclipse.org/Athena_Common_Build

[6] Apache Ivy, http://ant.apache.org/ivy/

[7] Plugin Development Environment (PDE), http://www.eclipse.org/pde/

[8] Maven, http://maven.apache.org/

[9] Tycho blog by Sonatype, http://tycho.sonatype.org/

[10] SAP, http://www.sap.com/

[11] Sabre Red Workspace, http://www.sabretravelnetwork.com/home/products_services/products/sabre_red_workspace

[12] Buckminster, http://www.eclipse.org/buckminster/


 

Releated Posts

IEEE Big Data 2023 – A Summary

Our CTO, Sabri Skhiri, recently travelled to Sorrento for IEEE Big Data 2023. In this article, Sabri explores for you the various keynotes and talks that took place during the
Read More

Robust ML Approach for Screening MET Drug Candidates in Combination with Immune Checkpoint Inhibitors

Present study highlights the significance of dataset size in ICI microbiota models and presents a methodology to enhance the performances of a multi-cohort-based ML approach.
Read More