Project IML overwritten when loaded as submodule of a multi-module project

Hello,

I'm getting problems with my project IML files that are used as
sub-modules of multi-modules projects.
They get overwritten and as a result would loose, among others things,
their facets.

I don't know anymore which version to commit.

How can I keep the projects facets when I load it as submodule?

cheers,
nodje

3 comments
Comment actions Permalink

I'm not sure that I'm understand the problem. Do you mean that you have two IDEA projects and uses the same iml file in both projects? Could you
please describe what you were doing before IDEA removed facet configurations from iml file?

Hello,

I'm getting problems with my project IML files that are used as
sub-modules of multi-modules projects.
They get overwritten and as a result would loose, among others things,
their facets.

I don't know anymore which version to commit.

How can I keep the projects facets when I load it as submodule?

cheers,
nodje



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

OK, let me give a more pratical example:

Say I have 2 projects, one named Alpha, the other one named Web-Alpha,
the latter being the a part of the first one but with web access.

Those two are independant projects in their own rights, they each have
a pom.xml, code std settings, facets, inspection profile, .idea
directory, and an IDEA's IML file.

After a while, it becomes needed to reorganize a little and to put the
shared code into a Jar, let's  all it commons-alpha.jar.

This is a 3rd project, with it's own characteristics.

At some point a big refactoring becomes necessary. It's cumbursome to
work on Common-alpha only and 'mvn install' with each modification.

A Maven multi-module project is a perfect match for this need. Let's
create the a Common-alpha-parent project, with 3 sub-modules:
- commons-alpha
- alpha
- web-alpha

When you open this project with IDEA, a Common-alpha-parent.iml is
created, a .idea as well.
Each sub-module shall retain it's own characteritics, especially it's
own facets.

In this case, IDEA seem to mess up with the sub-modules' IML files,
removing some facets for instance, where it doesn't seem to be needed.

So when commiting modification on Common-alpha-parent,
commons-alpha.iml, alpha.iml, web-alpha.iml appears to be modified.
When one reopen a module as an independant project, the configuration
is changed, where it should not have happend.

Hops it's clear.

rgds


On 2010-06-25 20:10:32 +0800, "Nikolay Chashnikov (JetBrains)"
<Nikolay.Chashnikov@jetbrains.com> said:

I'm not sure that I'm understand the problem. Do you mean that you have
two IDEA projects and uses the same iml file in both projects? Could
you please describe what you were doing before IDEA removed facet
configurations from iml file?

>> Hello,
>>
>> I'm getting problems with my project IML files that are used as
>> sub-modules of multi-modules projects.
>> They get overwritten and as a result would loose, among others things,
>> their facets.
>>
>> I don't know anymore which version to commit.
>>
>> How can I keep the projects facets when I load it as submodule?
>>
>> cheers,
>> nodje


0
Comment actions Permalink

generation today http://www.shoesmum.com These shoes are extremely lightweight and are designed like your favorite Converse shoes with extra flair For those who appreciate comfort with their stylin looks there is no better combination than thatWe offer ghd mkghd pink http://www.jewelryover.com cheap GHD http://www.jewelryover.com/tiffany-necklaces.html http://www.jewelryover.com/tiffany-bangles.html fashion GHD Hair straighteners hot sell CHI hair products brand Hair straighteners kinds of CHI hair products New stylesgood price The comfortable casual Ed Hardy skull rose tattoo shoes let you put your best face forward in style with its tattoo print and logo decor http://www.shoesmum.com  These shoes represent an art form and allow people to broadcast who they areThey are imprinted

---
Original message URL: http://devnet.jetbrains.net/message/5274494#5274494

0

Please sign in to leave a comment.