Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Incremental build not working correctly
Incremental build not working correctly [message #1842478] Mon, 21 June 2021 09:09 Go to next message
Nissan Aloni is currently offline Nissan AloniFriend
Messages: 6
Registered: June 2021
Junior Member
Hi,

I am working with an Eclipse based IDE.
My workspace is composed of 3 projects:
1. BSP
2. A SW library
3. A system project that uses the BSP and library and builds the final target

I noticed that the incremental build has strange behavior.
On first clean - it build all the sources.
On following build nothing is built - as expected.
On a consecutive build - all the files in the 3rd project are built again.
Then nothing is built and then again everything is rebuilt.

How can I debug it?
How can I tell what is causing this behavior - is it a problematic configuration? Is it something that the IDE supplier changed in Eclipse? Is it a bug in Eclipse?

Which log files should I include/investigate to understand the root cause?

Cheers.
Re: Incremental build not working correctly [message #1842501 is a reply to message #1842478] Mon, 21 June 2021 18:39 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31959
Registered: July 2009
Senior Member
We should not have to guess which language you are using and what it is that you are building in these projects. When you mention an "Eclipse-based IDE" perhaps you should consider that whomever has extended the base IDE might be the best folks to ask about it...

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Incremental build not working correctly [message #1842502 is a reply to message #1842501] Mon, 21 June 2021 18:51 Go to previous messageGo to next message
Nissan Aloni is currently offline Nissan AloniFriend
Messages: 6
Registered: June 2021
Junior Member
Hi,

I am building C based projects.

I have tried contacting the vendor that supplied the IDE - but so far didn't get any response or support. I was hoping the good and professional folks of this community might more knowledgeable and can direct on where to look for and maybe what to look for.

I saw the following log files are created:
myproj_Debug.build.ui.log
But I didn't see any clue to why the incremental build triggered a full build.

There is also IDE.log file in the workspace. I didn't see anything useful there as well.


Here's the content of .\.metadata\.plugins\org.eclipse.cdt.ui\global-build.log



Nothing to build in platform 'trenz_wrapper'

17:36:11 **** Incremental Build of configuration Debug for project sw_c ****
make -j8 all
make: Nothing to be done for 'all'.
17:36:14 **** Incremental Build of configuration Debug for project myproj ****
make all
make: Nothing to be done for 'all'.
17:36:15 **** Incremental Build of configuration Debug for project myproj_system ****
make -j8 all


but on a consecutive build

Nothing to build in platform 'trenz_wrapper'

17:38:12 **** Incremental Build of configuration Debug for project sw_c ****
make -j8 all
make: Nothing to be done for 'all'.
17:38:15 **** Clean-only build of configuration Debug for project myproj****
make clean



Thanks.
Re: Incremental build not working correctly [message #1842514 is a reply to message #1842502] Tue, 22 June 2021 05:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31959
Registered: July 2009
Senior Member
It will be better to ask in the CDT forum:

http://www.eclipse.org/forums/eclipse.tools.cdt

I assume that what gets build will depend on how you've specified the dependencies in your make files, but that too is just a guess. It's likely that someone answering your question will need to know what is in your make files...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Incremental build not working correctly [message #1842515 is a reply to message #1842514] Tue, 22 June 2021 05:46 Go to previous message
Nissan Aloni is currently offline Nissan AloniFriend
Messages: 6
Registered: June 2021
Junior Member
Thanks.
I will try in that forum.
Previous Topic:I am getting the same output while running the JSON programs on my macbook
Next Topic:Window Working Sets and Quick Access (Ctl-3)
Goto Forum:
  


Current Time: Thu Jul 29 00:31:08 GMT 2021

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

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

Back to the top