I am using Eclipse for C++ development. Each time I create a new workspace I need to go through a tedious series of manual steps to repeat the same configuration steps I have already performed on other workspaces. I am using a perforce perspective for team work. Some of the configuration steps include identification of the perforce client and connection information to the perforce server. Going through all the manual configuration steps usually takes me around 10 minutes which is a waste of time as I should be able to do that in seconds. I am trying to automate this task and I am looking for the best way to approach it. I suppose I could retrieve the metadata .settings directory for one of my clients and use some scripts to edit it to reflect the information that is specific to my workspace (e.g. the name of my perforce client, or the path to object files for the build configuration). But I was wondering if there would be a more elegant way to interface directly with the Eclipse program in order to modify the configuration programmatically after initial workspace creation. Which languages are available to me if there is indeed an programmatic API to modify the CDT workspace settings and preferences? Where can I find relevant documentation and tutorial resources? Python, Perl or C++ would be ideal.
Writing a program to configure Eclipse CDT programmatically
81 Views Asked by lmnca At
1
There are 1 best solutions below
Related Questions in ECLIPSE
- Set log4j.properties for GWT
- Compound classes stored in an array are not accessible in selenium java
- Eclipse color highlighting broken
- Eclipse Luna with Nodeclipse hangs when navigating a .js file with the Outline view
- Java Heap Space error on Layout xml: GC overhead limit exceeded
- Eclipse, how to find how many attributes defined in a class?
- Eclipse and Windows Headers
- Eclipse find source file from library
- mingw-64 conflicting declarations when cross-compiling
- String.split() not behaving in android
- local variable referenced before assignment in strange condition
- eclipse errors when try to change to master git branch
- Scala Eclipse IDE compiler giving errors until "clean" is run
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Behaviour Difference: Intellij vs Eclipse
Related Questions in API
- SuiteCRM how to retrieve all account related contacts
- how do i submit a pastebin or pastee from an android app and get the url back
- BigCommerce PHP API delete Category which contains products
- Interact with chrome bookmarks outside of extensions
- purchase individual items and subscriptions in the same PayPal REST API transaction
- youtube api v3 insert comments
- Youtube api v3 duration
- Responding to an Office 365 event invite via REST
- Convert youtube video to mp3 using Quick MP3 API
- How to real-time monitor the emails?
- Laravel - Fractal - Using Find() in transformer file- is it correct or can it be done more efficiently?
- return data from a Azure API json
- Accessing Picasa Web API using PHP
- RAML multivalued form parameter
- TestFlight API and stats with as3
Related Questions in CONFIGURATION
- Logback stopped logging after splitting shared config file
- Understanding Grizzly 1.9.36 internals
- Symfony 2 and php.yml configuration
- Tree configuration to turn on/off the features in java
- Deleting Repeated Services from Android GCM Config File
- What does the dot mean in Symfony service names?
- How to manage configuration data in large projects?
- org.apache.commons.configuration.INIConfiguration: section name with dot (period)
- How to include js files in a Visual Studio project on build
- What is the correct way to use app.config for my plugin when using MEF?
- How run several instances of GWT application in IntelliJIDEA
- ejabberd block messages from users that don't stay in my friend list
- CMake error while configuring "install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl"."
- Need help in configuring Jenkins with Coverity. Getting Error Message
- How do I access the service provider when registering using typescript class
Related Questions in ECLIPSE-CDT
- Eclipse find source file from library
- How do I adjust the position attributes of custom Eclipse markers when a file is edited by typing?
- Eclipse CDT for Windows 8.1 on VM - Binary not found/HelloWorld
- extern struct not recognised in CDT
- Gdb 7.9.1 with eclipse on OSX Yosemite
- How do you run Eclipse IDE for C/C++ from the command line (I already installed it)
- how to show filenames of calling function in eclipse call hierarchy view
- Filter Eclipse CDT textual search results by program-structural features
- Eclipse loses source location when optimization reduced from -O2
- Eclipse Neon build errors despite successful build
- Refactor Rename History in CDT
- Does Eclipse CDT's parser/indexer have a "self-identifying" preprocessor #define macro?
- Why is gdb not working in eclipse when it is working fine from command line?
- Errors running builder 'CDT Builder' on project 'Project1' in Eclipse Mars
- fatal error: 'type_traits' file not found
Related Questions in PROGRAMMATIC-CONFIG
- how to specify welcome-file-list in WebApplicationInitializer.onStartup()
- Swift - SwipingController Programmatic - button doesn't work
- How to set NLog's internal LogFile programmatically for dependency injection
- Storing/Retrieving kinit password from shellscript
- Spring security programmatic in-memory UserDetailsService: username and roles, NO password
- Writing a program to configure Eclipse CDT programmatically
- Log4j2 adding a new plugin and appender dynamically to root
- Programmatic mapping with embedded index in Hibernate Search results in unable to find field error
- How to use android to connect to an ESP8266 access point without internet in a stable way?
- How to integrate programmatic configuration in log4j?
- HTTP Status 404 - Using Spring+Tomcat
- How to instantiate Ignite CacheManager with programmatic configuration / without XML
- Migrating Spring Security 3.1 with XML config to 4.0.1 with Java config causes HTTP Status 401 - Authentication Failed: Bad credentials
- How to read property from application.properties when using ConfigurationFactory (Log4j's Programmatic Configuration)?
- How to hide the navigation bar as scroll down, when constraints are programmatically?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can try to create an Oomph setup script, it can be configured to change workspace preferences and a lot of other things, here is the basic tutorial: https://eclipsesource.com/blogs/tutorials/oomph-basic-tutorial/