Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Build Projects with a script.
Build Projects with a script. [message #198334] Thu, 26 July 2007 10:44 Go to next message
Eclipse UserFriend
Originally posted by: jonathan.orditz.selectron.ch

Hi,

It is possible to build "automatically" all the configurations of a
"Managed Make Project" with for example an Ant script or another script ?

I explain my idea:
- For the moment I have many "Managed Make Projects" which builds
libraries.
- In theses projects I have more than the 2 generic configurations (Debug
/ Release) because of my target and test environment (so I have 8
configurations: compact, small, medium, large, code_coverage,
static_analysis, etc... ).
- So for the moment I have to build each configuration separately: in the
context menu I have to choose the configuration to build, then I have to
click on build, wait that the build is finished without error, rebuild if
there was an error, then choose the next configuration, build this
configuration, etc... and this 8 times for one project... and I have more
than 50 projects to build... :-(

My question is: can I interact with Eclipse (by using an Ant script for
example) in order to select the configurations to be built and to build
them automatically ? Where could I find documentation explaining how I
could do this ? With such a script I could build only what I want to build
and this automatically and not by clicking 100 times on menus with my
mouse...

If someone could help... Many thanks in advance !

Jonathan
Re: Build Projects with a script. [message #198452 is a reply to message #198334] Fri, 27 July 2007 07:17 Go to previous message
Eclipse UserFriend
In Build Configurations, when you right click project in Project Explorer
view, you can use Build to build which configuration you want. You can
select multiple configurations or all if you want.

I hope that helps,
Burak


"Jonathan" <jonathan.orditz@selectron.ch> wrote in message
news:309d46a6fe1ec50965e145a630f364e5$1@www.eclipse.org...
> Hi,
>
> It is possible to build "automatically" all the configurations of a
> "Managed Make Project" with for example an Ant script or another script ?
>
> I explain my idea:
> - For the moment I have many "Managed Make Projects" which builds
> libraries.
> - In theses projects I have more than the 2 generic configurations (Debug
> / Release) because of my target and test environment (so I have 8
> configurations: compact, small, medium, large, code_coverage,
> static_analysis, etc... ).
> - So for the moment I have to build each configuration separately: in the
> context menu I have to choose the configuration to build, then I have to
> click on build, wait that the build is finished without error, rebuild if
> there was an error, then choose the next configuration, build this
> configuration, etc... and this 8 times for one project... and I have more
> than 50 projects to build... :-(
>
> My question is: can I interact with Eclipse (by using an Ant script for
> example) in order to select the configurations to be built and to build
> them automatically ? Where could I find documentation explaining how I
> could do this ? With such a script I could build only what I want to build
> and this automatically and not by clicking 100 times on menus with my
> mouse...
>
> If someone could help... Many thanks in advance !
>
> Jonathan
>
Previous Topic:CDT 4.0 Content Assist not working
Next Topic:missing GDB HARDWARE DEBUGGING
Goto Forum:
  


Current Time: Sun May 11 06:53:37 EDT 2025

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

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

Back to the top