Headless build on 2021-03 building multiple times [message #1840615] |
Tue, 20 April 2021 17:01  |
John McCabe Messages: 226 Registered: July 2009 |
Senior Member |
|
|
Hi,
I'm trying to use the headless build feature on Eclipse 2021-03, but I'm finding that it's building 4 times for each configuration. Can anyone suggest why this might be?
For background, I have multiple projects I'm trying to build, but I'm doing one at a time using a command of the form:
eclipse --launcher.suppressErrors -nosplash -data", eclipseWorkspace -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import <projectPath> -build <projectName>/<config>
What I'm getting out (timestamped lines only), for example for the Debug configuration of my BitFieldTest project is of the form:
10:27:19 **** Build of configuration Debug for project BitFieldTest ****
10:27:20 Build Finished. 0 errors, 0 warnings. (took 854ms)
10:27:26 **** Build of configuration Debug for project BitFieldTest ****
10:27:27 Build Finished. 0 errors, 0 warnings. (took 922ms)
10:27:27 **** Build of configuration Debug for project BitFieldTest ****
10:27:28 Build Finished. 0 errors, 0 warnings. (took 695ms)
10:27:28 **** Build of configuration Debug for project BitFieldTest ****
10:27:28 Build Finished. 0 errors, 0 warnings. (took 724ms)
Does anyone have any clue why it would go through this 4 times?
I don't know if this is relevant (it certainly shouldn't be, but seems worth mentioning in case it's more than a coincidence), but each project has 4 configurations; Debug, Release, DebugCross, ReleaseCross. However I'm explicitly providing the choice of configuration so expect it to be built only once.
[Updated on: Tue, 20 April 2021 17:07] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09158 seconds