Hi. I just checked again and the files were freshly generated as
described before. However, I have since changed the project layout and
it's now working for me, too.
Previously, I had the following layout:
pom.xml (parent pom)
module1/pom.xml
module2/pom.xml
with a modules section like this in the parent pom:
<modules>
<module>module1</module>
<module>module2</module>
</modules>
This produced the described problematic parent project file.
My new layout looks like this:
parent/pom.xml (parent pom)
module1/pom.xml
module2/pom.xml
with a modules section like this in the parent pom:
<modules>
<module>../module1</module>
<module>../module2</module>
</modules>
which just works... strange...
Thanks anyway, Joern.
Edwin Punzalan wrote:
There's a goal idea:clean to delete the idea files for you, btw. ^_^
Roald Bankras wrote:
I just ran it for my own project, but it seems to work fine here.
Maybe a glitch. You can try to delete the idea files and create them
again.
Roald Bankras
Software Engineer
JTeam b.v.
-----Original Message-----
From: Joern Huxhorn [mailto:[EMAIL PROTECTED] Sent:
Wednesday, June 21, 2006 4:16 PM
To: Maven Users List
Subject: Re: Bug in IDEA plugin.
Roald Bankras wrote:
Which version of the idea plugin are you using?
Version 2.0. I just did an mvn -U before I wrote the mail.
Roald Bankras
Software Engineer
JTeam b.v.
-----Original Message-----
From: Joern Huxhorn [mailto:[EMAIL PROTECTED] Sent:
Wednesday, June 21, 2006 12:01 PM
To: Maven Users List
Subject: Bug in IDEA plugin.
Hi.
In case of a multi module project with a parent pom containing
several <module> the main project file parent-pom-name.ipr is
created with errors.
Inside
<component name="ProjectModuleManager">
<modules>
are several lines looking like this:
<module filepath="$PROJECT_DIR$/ubmodule1/submodule1.iml"/>
which should look like this:
<module filepath="$PROJECT_DIR$/submodule1/submodule1.iml"/>
The first character of the submodule directory is cut off. This can
easily be fixed manually but can be quite annoying.
I'm currently using version 2.0.
Thanks in advance for any help,
Joern Huxhorn.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]