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 developer specific files #39

Open
Marcono1234 opened this issue Jan 10, 2021 · 2 comments
Open

Remove developer specific files #39

Marcono1234 opened this issue Jan 10, 2021 · 2 comments

Comments

@Marcono1234
Copy link
Contributor

This project contains a few developer-specific files, or files which might not be needed anymore. It is generally recommended to not check these fils in with version control (here Git) because each developer might have different settings.
Instead respective files and folders should be excluded using .gitignore or locally by the developer using --skip-worktree.

Affected:

  • Eclipse settings:
    • /.settings
    • /.classpath
    • /.project
  • /libjcocoa.xcodeproj, or at least some of its sub-directories (?)
  • /src/main/resources/ (?)
    And even if they are needed to build the project, I doubt that they should end up in the final .jar
@mojo2012
Copy link
Collaborator

Some files like .project should imho be included because they allow new developers to use those projects in their favourite IDE (Eclipse ;-)) as long as they don't container developers-(machine) specific settings.

@Marcono1234
Copy link
Contributor Author

Though modern IDEs should (and likely are) able to import a plain Maven project without requiring any IDE specific settings (might be different for Native development using Xcode though).
For example the Eclipse .project file dictates that the project has the name "Java-Objective-C-Bridge". If the user wants a different name then they might have issues with Eclipse and they will have to fight Git marking the file as modified (or be aware of --skip-worktree). Same .classpath and .settings, there does not appear to be anything special which a developer needs. Eclipse will very likely be able to generate these files with correct content on its own.

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

No branches or pull requests

2 participants