Working in a team, all using IntelliJ, there's some discussion about checking-in or not the .ipr file for the project.
I just lost half an hour because a custom resource pattern was dropped from the compiler options when someone else checked in his .ipr that didn't have this setting.
What's the best practice here? FWIW We ignore .iws already.
I just lost half an hour because a custom resource pattern was dropped from the compiler options when someone else checked in his .ipr that didn't have this setting.
Can you restore your version from source control?
Storing project files in VCS is warranted by that issue. It makes it easy for new developers to check out and work right away, rather than asking around for how to set up the projects.
The workstation development environment configuration is vital for the team. It's not a deliverable, but it affects the team, for better or worse. Having a standard development environment ensures that you are all working as similarly as possible rather than everyone having the projects configured slightly differently, which could result in false errors.
I'm always insist on ignoring *.ipr, *.iws, *.iml, *.ids files in VCS.
If you are using java - then use maven. It has a lot of benefits. One of them - it's IDE independent.
UPD. 13.03.2014 For now there exist good alternatives to maven, but the main idea - projects should be IDE independent. No matter what you are using. It should be comfortable for everybody to work with your code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With