IDEA 6.0 and 7.0 cosmetic changes to iml, ipr files

Just another thing thats annoying me with 7.0. When you reopen a project with IDEA 6.0 (or switch to 7.0 from 6.0) the all the .iml, .ipr files in the project change - seems to be quite a trivial ordering, linefeed change, but causing unnecessary vcs commits and merges over here. Not everybodies upgraded to 7.0 here - and I've still got projects that won't compile under 7.0.

Anybody else,

- Richard

2 comments

Hello Richard,

Just another thing thats annoying me with 7.0. When you reopen a
project with IDEA 6.0 (or switch to 7.0 from 6.0) the all the .iml,
.ipr files in the project change - seems to be quite a trivial
ordering, linefeed change, but causing unnecessary vcs commits and
merges over here. Not everybodies upgraded to 7.0 here - and I've
still got projects that won't compile under 7.0.


Project files are not guaranteed to be backward compatible - that means that
version 6 won't correctly open any project created with version 7. The correct
way to handle this is to have two copies of project files, one for 6.0 and
one for 7.0.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

>Project files are not guaranteed to be backward compatible - that means that
>version 6 won't correctly open any project created with version 7. The correct
>way to handle this is to have two copies of project files, one for 6.0 and
>one for 7.0.

Good to know, but seems like a lot of hassle for what I'd hope is a relatively short-term issue. I'd like all my 6.0 projects to compile under 7.0 and everybody use IDEA ;)

The fact that it interchanging 6.0 and 7.0 does work, that according to the iml version number they're both "4" under 6 .0 & 7.0. Plus the differences are so minor as the ordering of attributes and an empty "ModuleRootManager". It's trivial but simply re-openeing the project causes all these changes.

I'm sure they'll be other changes if my configuration wasn't so simple (not using any j2ee, appservers or frameworks). Bit it adds to my frustration as I'm having to version hop while working out what's so wrong with our projects under 7.0.

0

Please sign in to leave a comment.