Depending on the IntelliJ IDEA project format (.ipr file based or .idea directory based), you should put the following IntelliJ IDEA project files under the version control:
.ipr file based format
Share the project .ipr file and and all the .iml module files, don't share the .iws file as it stores user specific settings.
.idea directory based format
Share all the files under .idea directory in the project root except the workspace.xml and tasks.xml files which store user specific settings, also share all the .iml module files.
Hi, Chris,
They cannot be omitted.
It is very core subsystem, that stores files in the .idea/libraries directory, these files are necessary for IDEA
to open an existing project correctly. These files also contain user-defined paths for the libraries, such as paths to sources and javadoc.
Been working with IntelliJ and Flex projects in SVN, does it make sense that we should also ignore misc.xml from the .idea folder?
I seem to get conflicts on that often as everyone starts up the project.
-ross
No, misc.xml must be in the version control. What kind of conflicts do you get with it?
this line is being added whenever I open my project, other developers do not have this line in there file
<component name="IdProvider" IDEtalkID="6CD5B8E1EF16C99D654FFF49E5CF4062" />
I am guessing they are not using IDETalk... It does not happen often but I would think any user specific stuff would not be shared across subversion though....
-ross
Thanks for the details, I've submitted youtrack.jetbrains.net/issue/IDEA-54149. You can follow it for progress.
Also in this file, in another project I had this added at the bottom
inside the <component name="SvnBranchConfigurationManager"> tag
<option name="myConfigurationMap">
<map>
<entry key="$PROJECT_DIR$">
<value>
<SvnBranchConfiguration>
<option name="trunkUrl" value="svn://svn.server.com/PATH/to/module/root" />
</SvnBranchConfiguration>
...
With a bunch of trunk URL's pointing at different module roots.
I think what I did was after the project was in version control I went to the changes panel and clicked refresh. Suddenly this was in my misc.xml file. Another developer got a conflict
when he attempted to update.
I am not sure if these are just ok for everyone to share, or if it was just a conflict between IDEtalk stuff and then this being added.
-ross
Thanks. what does that IDE talk ID mean for now? should everyone disable the plugin?
-ross
This FAQ is not the best place for the discussion, please either contact us by e-mail, or better move the discussion to the issue tracker (see the link I posted above). I don't know what it means, watch the tracker issue for progress.
Regarding the sharing of (or not sharing) VCS branches, see: http://youtrack.jetbrains.net/issue/IDEA-23653
I have a large multi-module Maven project that was imported to become an IntelliJ project. Cumulatively, there are a lot of libraries.
Under .idea/libraries there are many files of the pattern: "Maven_groupId_artifactId_version.xml"
Since these are all derived from what is already configured in (and inferred from) the pom files, can the .idea/libraries directory be omitted entirely for Maven based projects?