CANNOT Share an IDEA Project across Users

I have noticed that while the IDEA documentation makes reference to the fact that Projects (.ipr) can be shared across users, in practice it doesn't work.

1. The user-specific preferences file (".iws" file) appears to be hard-coded in the shared Project file (".ipr"). Therefore, everyone would be forced to use the same "iws" which obviously isn't ideal, and probably wouldn't work across different machies with different internal paths.

2. If you open a given Project (ipr) on a Windows machine that was previously in use on a Mac machine, the project opens with a bunch of incompatibilities in terms of settings, JDK, etc.

3. The Project JDK is stored in the Project (ipr) file. Therefore, if you have one user loading the project on 1.5.0_06, and the other on 1.5.0_08, one of hte users won't be able to find the JDK (and it might get worse if it's a Windows vs. Mac issue).

Can anyone from JetBrains comment on when TRUE shared project support will be available, so that ALL aspects of sharing a project will work across users, and across platforms. Furthermore, a version that will also allow users to keep their own code formatting and other personal settings while using a shared project.

Thank You,
Eric

4 comments
Comment actions Permalink

+1. The user-specific preferences file (".iws" file) appears to be hard-coded in the shared Project file (".ipr"). Therefore, everyone would be forced to use the same "iws" which obviously isn't ideal, and probably wouldn't work across different machies with different internal paths.
+

The .ipr file is sharable, the .iws file is not. The .iws file includes a bunch of transient stuff (window locations, open editors) and should not be checked into version control (yes, IDEA should be better about warning you of that). If you do end up with a funky .iws, just delete it, remove it from version control, and restart. Nothing of value is stored there, with the possible exception of run configurations (unless you mark them as shared).

+2. If you open a given Project (ipr) on a Windows machine that was previously in use on a Mac machine, the project opens with a bunch of incompatibilities in terms of settings, JDK, etc.

3. The Project JDK is stored in the Project (ipr) file. Therefore, if you have one user loading the project on 1.5.0_06, and the other on 1.5.0_08, one of hte users won't be able to find the JDK (and it might get worse if it's a Windows vs. Mac issue).
+

Nope. The JDK settings are stored on the application, not on the project. Each user will need to have a JDK of the same name, but the location of that JDK is local to each user's machine.

+
Can anyone from JetBrains comment on when TRUE shared project support will be available, so that ALL aspects of sharing a project will work across users, and across platforms.
+

The project I'm working on shares the project between eight users, on various configurations of Windows, Mac OS X, and Red Hat, with projects used by both IDEA and TeamCity. It's not rocket surgery.

--Dave Griffith

0
Comment actions Permalink

Hmm. Interesting. I guess I hadn't thought about not checking the "iws" file into version control. That makes things much more manageable. Thanks for that suggestion.

As for the JDK, I didn't realize that if the "names" are the same across users then it would work. That's great news too.

However, I'm still a little concerned about the Mac vs. Windows problem. I haven't done it in a while, but I do recall opening a Mac "ipr" project in IDEA/Windows, and that resulting in a bunch of configuration problems at startup. Maybe I should try again with IDEA 6.0.

Thanks for the suggestions.

- Eric

0
Comment actions Permalink

I had lots of problems attempting to share project files pre-IDEA 6, but it now works without any issues here (sharing with ~10 developers on Windows and Linux).

0
Comment actions Permalink

As for the JDK, I didn't realize that if the "names" are the same
across users then it would work. That's great news too.


In addition, standarizing on JDK names like "1.4", "1.5", "1.6" makes things
easy.


0

Please sign in to leave a comment.