Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 83037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:42:39+00:00 2026-05-10T21:42:39+00:00

Which Eclipse files is it appropriate to put under source control, aside from the

  • 0

Which Eclipse files is it appropriate to put under source control, aside from the sources obviously?

In my project, specifically, I’m wondering about:

.metadata/*
project-dir/.project
project-dir/.classpath
project-dir/.settings/*

If there are any of these for which it depends, please explain your guidelines.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:42:39+00:00Added an answer on May 10, 2026 at 9:42 pm

    Metadata should not be managed in source control. They contain mostly data relevant to your workspace.

    The only exception is the .launch XML files (launcher definition).

    They are found in

    [eclipse-workspace]\.metadata\.plugins\org.eclipse.debug.core\.launches 

    And they should be copied into your project directory: When your project is refreshed, those configurations will be displayed in the ‘Run configuration’ dialog.

    That way, those launch parameter files can be also managed into the SCM.

    (Warning: Do uncheck the option ‘Delete configurations when associated resource is deleted’ in the Run/Launching/Launch Configuration preference panel: It is common to soft-delete a project in order to import it back again – to force a reinitialization of the eclipse metadata. But this option, if checked, will remove your detailed launch parameters!)

    project-dir/.project project-dir/.classpath project-dir/.settings/*  

    should be in your SCM (especially .project and .classpath according to the Eclipse documentation).

    The goal is that anyone can checkout/update his/her SCM workspace and import the Eclipse project into the Eclipse workspace.

    For that, you want to use only relative paths in your .classpath, using linked resources.

    Note: it is better if project-dir refers to an ‘external’ project directory, not a directory created under the eclipse workspace. That way, the two notions (eclipse workspace vs. SCM workspace) are clearly separated.


    As ipsquiggle mentions in the comment, and as I have alluded to in an old answer, you can actually save the launching configuration as shared file directly in your project directory. All launching configuration can then be versioned like the other project files.

    (From the blog post Tip: Creating and Sharing Launch Configurations from KD)

    alt text

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 57k
  • Answers 57k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer You could use a Regex similar to those proposed: (?:^value_name\s+)?([^,]+)(?:\s*,\s*)?… May 11, 2026 at 8:33 am
  • added an answer Here's a modification of Damien_The_Unbeliever's solution that allows one default… May 11, 2026 at 8:33 am
  • added an answer Here is a good How-to There are 7 types of… May 11, 2026 at 8:33 am

Top Members

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.