Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Headless Build Environment(Check the RCP environment for Headless build )
Headless Build Environment [message #919699] Sat, 22 September 2012 08:26 Go to next message
Alok Mishra is currently offline Alok MishraFriend
Messages: 16
Registered: April 2012
Junior Member

My team is developing an RCP application using Eclipse.

Our goal is to build everything through command line, without having to open the eclipse IDE.

I want to write a script (linux) to check the Build Environment before a developer starts on our project. This script should check for the following:
1. Java version. (I can get this through java -version)
2. Ant version. (I can get this through ant -version)
3. Eclipse Version - (dont know how to check)
4. Whether Eclipse delta-pack is installed? (dont know how to check)
5. Some other checks as well.

If any of the above is not correct then the script will exit with error. But I'm facing problem with the following:
1. How to check for eclipse version through command line? We want the eclipse environment to have only Indigo (3.7) plugins and not that of Juno. Most of the Juno plugins are still buggy and we want to avoid using the Juno environment.
2. How to check if Eclipse delta-pack is installed or not? Is checking for the feature org.eclipse.equinox.executable enough or do we need to check any other file? Is there any simpler way of determining it?

Any help in this regard will be highly appreciated.

Thank You.
Re: Headless Build Environment [message #923158 is a reply to message #919699] Tue, 25 September 2012 16:52 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

For eclipse classic, you can check your version by finding the value of the org.eclipse.sdk.ide IUs (use the p2 director -list option, see ).

But you might want to consider simply using PDE product build and p2 mirror:

1) Mirror the IUs you need from a p2 repo (like )

2) specify your product IU

3) call the org.eclipse.ant.core.antRunner application. You'll get the ant version provided with that eclipse.

It will do everything, including materialize archives for each platform.


Re: Headless Build Environment [message #962152 is a reply to message #923158] Sun, 28 October 2012 22:41 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Maven Tycho makes building plug-ins and product relatively easy. Please see Maven Tycho Tutorial for an introduction.
Previous Topic:RCP Application based on Features
Next Topic:RCP product export customized ANT script for multiplatform
Goto Forum:

Current Time: Tue Jan 31 04:44:51 GMT 2023

Powered by FUDForum. Page generated in 0.06977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top