Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Headless build issue
Headless build issue [message #1831441] Wed, 19 August 2020 21:42 Go to next message
Patrick Sweeney is currently offline Patrick SweeneyFriend
Messages: 1
Registered: August 2020
Junior Member
I inherited a complex build system that uses an eclipse headless build as just one step in dozens to build a massive project of a gazilion applications in various languages. The build system (including the headless Eclipse build of some C++ code) works fine on any of the various Linux machines we run on. But if we compile on computer A then switch to computer B we get a failure. If we delete the .eclipse folder in the user's root directory it will work just fine. Please note that the source files, the user' home directory, the provided workspace folder, and the Eclipse installation are on a common file server. So the build sees the same .eclipse folder regardless of what machine it is running on.

I am unable to attach error log file as this whole system if off the grid and fully locked down. But I can paraphrase it as:

Application "org.eclipse.cdt.managedbuilder.core.headlessbuild" could not be found in the registry. Applications available are: <long list of stuff that does not include the above headlessbuild application.

We appear to be using Eclipse Oxygen 3.

What might I be able to do to get around this? I assume something in the .eclipse folder needs to be different for different computers but diffing has not found anything. It was my understanding that the .eclipse folder was a storage location for installation and configuration information and nothing to do with the project to be compiled.

My only less than ideal solution is to move the user's .Eclipse folder out of the way, compile, and then restore it. I am hoping for some magic incantation that would allow the same .eclipse folder to be used from multiple machines.
Re: Headless build issue [message #1831606 is a reply to message #1831441] Mon, 24 August 2020 20:03 Go to previous message
Adriano Carvalho is currently offline Adriano CarvalhoFriend
Messages: 54
Registered: November 2018
Member
Hi, Consider asking this on CDT's mailing list. Recent exchanges touched a bit on this topic.
Previous Topic:Managing and collaborating with inter-project dependencies
Next Topic:Register groups in debug launch configuration are lost on debug launch failure
Goto Forum:
  


Current Time: Sun Oct 13 20:06:06 GMT 2024

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

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

Back to the top