Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Export Preferences->C/C++(How to export Preferences->C/C++ (ALL))
Export Preferences->C/C++ [message #1793735] Tue, 14 August 2018 17:30 Go to next message
Eclipse UserFriend
Eclipse / CDT is an awesome platform.

I've been using / administering Eclipse for our software department about ten years now. It's really a pain to propagate a change or implement a new Error Parser to the user workspaces.
Is there any way to Export preferences->C/C++->Build structure?

[Updated on: Tue, 14 August 2018 17:30] by Moderator

Re: Export Preferences->C/C++ [message #1793739 is a reply to message #1793735] Tue, 14 August 2018 20:25 Go to previous messageGo to next message
Eclipse UserFriend
The following don't work?
File --> Export --> C/C++ --> C/C++ Project Settings
File --> Export --> General --> Preferences

There are project files .cproject , .project plus others in .settings directory.
Create a project without source that you can make a copy of then import.

There are things in the workspace directory as well that mostly affect appearance.

You can also create an empty workspace or one with a rudimentary project that can be copied.
This is what I do.
I also have a directory called workspaces that has subdirectories named by Eclipse version
The subdirectories contain the actual workspaces.
When making a new workspace I copy one of the existing ones then delete unwanted projects.

I generally don't keep the actual project in the workspace but import it from its actual location.

Re: Export Preferences->C/C++ [message #1793777 is a reply to message #1793739] Wed, 15 August 2018 13:13 Go to previous messageGo to next message
Eclipse UserFriend
Yep, I currently create a 'clean' workspace for a given program (without projects), which is checked into Perforce for the program team to use.

Just make sure you're actually starting with a sanitized workspace, otherwise, you may get some unexpected behaviour.

With no projects in the workspace there shouldn't be any .pdom files in the .metadata\.plugins\org.eclipse.cdt.core directory. Multiple .pdom files for a given project can cause indexer issues.

Re: Export Preferences->C/C++ [message #1793778 is a reply to message #1793739] Wed, 15 August 2018 13:13 Go to previous messageGo to next message
Eclipse UserFriend
Yep, I currently create a 'clean' workspace for a given program (without projects), which is checked into Perforce for the program team to use.

Just make sure you're actually starting with a sanitized workspace, otherwise, you may get some unexpected behaviour.

With no projects in the workspace there shouldn't be any .pdom files in the .metadata\.plugins\org.eclipse.cdt.core directory. Multiple .pdom files for a given project can cause indexer issues.

Re: Export Preferences->C/C++ [message #1795046 is a reply to message #1793778] Thu, 13 September 2018 08:57 Go to previous message
Eclipse UserFriend
Have you looked at plugins? Like Workspace Preferences Transferrer?
Previous Topic:CWD and PWD variables for each Project
Next Topic:Arduino Download Manager: path error when try installing new platform
Goto Forum:
  


Current Time: Sun Jul 13 14:50:22 EDT 2025

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

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

Back to the top