Re: running mvn idea:idea
Hi, Though I'm not a maven expert, I've had this message when I've tried to run mvn idea:idea without having run mvn install first. I have a lot of autogenerated code, and if idea:idea is run before generating the code, even though the sub-module iml files are generated, no code (sources) is marked for that module. Therefore I get messages like the ones you've described. So, idea is expecting code, but doesn't get it. I get around it by just running mvn install (or whatever equivalent command you need) first. Hope this helps, Allyson On Wed, May 14, 2008 at 3:36 PM, kace [EMAIL PROTECTED] wrote: Hi, I am using maven 2.0.9 and running mvn idea:idea and I get the following message when I run IDEA Cannot load module file 'C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml': File C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml does not exist Would you like to remove the module from the project? All the java files have a circle with a diagonal line across it. Anyone know how I can fix this? Regards, ..kace -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17232616.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Allyson :) Allyson Lister Research Associate Centre for Integrated Systems Biology for Ageing and Nutrition Newcastle University http://www.cisban.ac.uk School of Computing Science Newcastle University Newcastle upon Tyne, NE1 7RU
Re: running mvn idea:idea
Thanks Allyson, unfortunately it didnt work for me - so had to go back to using IDEA's native maven support to generate the project. Running it through the command line did produce the project structure I am looking for but still same issue with the source files. The project structure I get when generating the project from IDEA is different - all the submodules are defined via there artifactId's instead of the directory they are under - would you happen to know how I can resolve this. Regards, ..kace -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17317595.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running mvn idea:idea
Thanks, any idea when 2.2 will be released? Regards, ..kace -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17270683.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running mvn idea:idea
Interesting topic. I've been having trouble with Idea's native Maven support and would like to consider using the Idea Maven plugin again. The problems I have is synchronizing a single module. When I hit the synchronize button it synchronizes all of the modules and I have one non-standard module that wraps a JavaME Ant build. this module gets completely screwed up and I have to manually go in and fix all of my paths. The other problems I've been having is synchronizing sometimes obliterates any Idea module groupings I have set up. Has anyone else been experiencing pain using Maven and Idea? Does the Idea Maven plugin still work under version 7? arikkfir wrote: IDEA natively supports Maven as of version 7 - what version are you using? -Original Message- From: kace [EMAIL PROTECTED] To: users@maven.apache.org Subject: running mvn idea:idea Date: Wed, 14 May 2008 07:36:42 -0700 (PDT) Hi, I am using maven 2.0.9 and running mvn idea:idea and I get the following message when I run IDEA Cannot load module file 'C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml': File C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml does not exist Would you like to remove the module from the project? All the java files have a circle with a diagonal line across it. Anyone know how I can fix this? Regards, ..kace -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17274583.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running mvn idea:idea
I am using version 7 and it worked fine once I imported it through IDEA - thanks. I have a folder structure module 1 - module a - module b module 2 - module c - module d when I run the command mvn idea:idea through the command line(cygwin) it gives me the right project structure but then I have the problem I mentioned previously. Running it through IDEA gives me the following structure: module 1 module a module b module 2 module c module d does anyone know how I can get the desired structure for my project - either through running it within IDEA or how to fix the problem the command line produces? Regards, ..kace -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17249471.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running mvn idea:idea
There are a couple of bugs in maven-idea-plugin when running under cygwin. These have been addressed in the upcoming 2.2 version of the plugin. You can try the current 2.2-SNAPSHOT if you want to verify that it works for you. kace wrote: I am using version 7 and it worked fine once I imported it through IDEA - thanks. I have a folder structure module 1 - module a - module b module 2 - module c - module d when I run the command mvn idea:idea through the command line(cygwin) it gives me the right project structure but then I have the problem I mentioned previously. Running it through IDEA gives me the following structure: module 1 module a module b module 2 module c module d does anyone know how I can get the desired structure for my project - either through running it within IDEA or how to fix the problem the command line produces? Regards, ..kace -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
running mvn idea:idea
Hi, I am using maven 2.0.9 and running mvn idea:idea and I get the following message when I run IDEA Cannot load module file 'C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml': File C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml does not exist Would you like to remove the module from the project? All the java files have a circle with a diagonal line across it. Anyone know how I can fix this? Regards, ..kace -- View this message in context: http://www.nabble.com/running-mvn-idea%3Aidea-tp17232616p17232616.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running mvn idea:idea
IDEA natively supports Maven as of version 7 - what version are you using? -Original Message- From: kace [EMAIL PROTECTED] To: users@maven.apache.org Subject: running mvn idea:idea Date: Wed, 14 May 2008 07:36:42 -0700 (PDT) Hi, I am using maven 2.0.9 and running mvn idea:idea and I get the following message when I run IDEA Cannot load module file 'C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml': File C:\mobileanarchy\C:\mobileanarchy\data\common\common-core\mobileanarchy-data-common-core.iml does not exist Would you like to remove the module from the project? All the java files have a circle with a diagonal line across it. Anyone know how I can fix this? Regards, ..kace