Share .idea / libraries in VCS?
We have shared our project in VCS (without workspace.xml). It is a Maven project and often all the files in .idea/libraries are deleted and recreated by IDEA, after the Maven project is reimported or a dependency change occured. This leads to a bunch of unnecessary VCS operations. The question:
Is it necassary to share the libraries in VCS?
As IDEA always regenerates the libraries/*.xml files I wonder, what the correct way of sharing the project configurations in VCS is.
Thank you,
Timo
Please sign in to leave a comment.
Hello Timo,
The files under libraries are only regenerated if you're using Maven, and
in that case you can probably exclude them from VCS. If you're not using
Maven, these files need to be in the VCS.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Dmitry,
thank you for your answer. It answers exactly my problem. As we have all of our projects "mavenized" I will ignore the .idea/libraries folder now.
Best regards
Timo