Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the personal eclipse files from the source tree #101

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

webos21
Copy link

@webos21 webos21 commented Mar 4, 2024

The eclipse project files need to be ignored.

  • .settings
  • .classpath
  • .project
  • bin

These files and folders are changed in each individual environment.

@WJSchakel
Copy link
Collaborator

In our team we work closely together where we all use Eclipse and the same settings and code formatting etc. This makes it very convenient for us to share settings files in this manner. We do understand that for other users these files are not only unnecessary, but also may make it difficult or cumbersome to work with settings files in other IDE's.

We are open to other suggestions on how we can share our settings files in a manner that it would not be part of the git repository, yet that they can be automatically updated and used by Eclipse. Would you have any suggestions for this?

@webos21
Copy link
Author

webos21 commented Jun 12, 2024

In our team we work closely together where we all use Eclipse and the same settings and code formatting etc. This makes it very convenient for us to share settings files in this manner. We do understand that for other users these files are not only unnecessary, but also may make it difficult or cumbersome to work with settings files in other IDE's.

We are open to other suggestions on how we can share our settings files in a manner that it would not be part of the git repository, yet that they can be automatically updated and used by Eclipse. Would you have any suggestions for this?

In a single team project, your approach has no problem. Maybe you guys have same settings like below. (It is just my guess.)

  • Same Java Version
  • Same Eclipse IDE Version and Location
  • Same project folder location (or Eclipse workspace location)

I humble say, a maven project is complete in itself. So, it can be loaded to Eclipse or IntelliJ, VSCode and the other IDEs.
If the maven's pom.xml is well written, the IDE's specific settings are not necessary to share. It just a personal tastes and the IDEs automatic configuration. (The coding convention is important to share.)

How about referring to the following Apache project and reading the ".gitignore" file?
https://github.com/apache/commons-dbcp/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants