views:

556

answers:

3

Hey We have existing projects set with compilation dependencies in a RAD7 IDE. Is it possible to create automated build script from the existing project structure? We have IBM portal projects and regular WEB and enterprise projects.

Maven and Ant are possible solutions but can we use these tools to build existing projects from command line without using the IDE itself?

Also is it possible to call RAD \ eclipse core compilation from command line or API?

Thanks

+2  A: 

You need to look into "headless mode". That's basically running the IDE to perform its work without the IDE showing up.

I don't have any direct experience but one of the teams in our lab used RAD in headless mode to automate builds for an Eclipse/System-z interface.

paxdiablo
A: 

You can find information on headless Ant builds in chapter 23 of the Rational Application Developer V7 Programming Guide Rebook. There's more documentation in the IBM Rational Application Developer Version 7.0.0.x Information Center (which you should also be able to find in the help).

McDowell
A: 

There are a number of projects already using Tycho to build Eclipse components using Maven:

There is a somewhat dated tutorial for Tycho here: http://www.sonatype.com/people/2008/11/building-eclipse-plugins-with-maven-tycho/

For more information about the Tycho development effort: http://www.sonatype.com/people/2009/03/the-future-of-maven-osgi-join-the-tycho-users-mailing-list/

tobrien