[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102355 ] Ben Hood commented on MIDEA-98: --- Works for me. Thanks Dennis! Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 cygwin Reporter: Ben Hood Assignee: Dennis Lundberg Fix For: 2.2 Attachments: toRelative-2.out, toRelative.out I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102388 ] Christian Nelson commented on MIDEA-98: --- And for me. Thanks! Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 cygwin Reporter: Ben Hood Assignee: Dennis Lundberg Fix For: 2.2 Attachments: toRelative-2.out, toRelative.out I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102266 ] Dennis Lundberg commented on MIDEA-98: -- Great new Christian, now we're getting close. I have a hunch that this is a case problem. To verify this I have added some debugging code and deployed a new 2.2-SNAPSHOT of this plugin. Would you mind trying it on your project using mvn -X idea:idea. Post the results of the [DEBUG] toRelative... lines at the end of the build here. Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102275 ] Dennis Lundberg commented on MIDEA-98: -- Thanks Christian. I you look at lines 7-8 in your file, you can see that the difference in case makes toRelative() produce the wrong results for the sub-project .iml files. Compare d:\Development... to D:\Development Now I just need to figure out a good way to solve this. Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood Attachments: toRelative.out I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102276 ] Dennis Lundberg commented on MIDEA-98: -- OK, new SNAPSHOT deployed with a possible solution. Please give it a try and post your toRelative... output once again. Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood Attachments: toRelative.out I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102235 ] Dennis Lundberg commented on MIDEA-98: -- Thanks to Christian I had something to test on. So I gave it a try. The top level .ipr file looks like this for me: {code} component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/webapp-reference.iml/ module filepath=$PROJECT_DIR$/webapp-reference-core/webapp-reference-core.iml/ module filepath=$PROJECT_DIR$/webapp-reference-web/webapp-reference-web.iml/ /modules /component {code} This test was done using Maven 2.0.7 with Sun Java 1.5.0_11 on Windows XP. So to me everything is working as expected. Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102245 ] Christian Nelson commented on MIDEA-98: --- Same thing, but from a non-cygwin shell: {code} component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/webapp-reference.iml/ module filepath=$PROJECT_DIR$/webapp-reference-core/webapp-reference-core.iml/ module filepath=$PROJECT_DIR$/webapp-reference-web/webapp-reference-web.iml/ /modules /component {code} Looks like cygwin IS the problem. Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101887 ] Petr Panuska commented on MIDEA-98: --- I am using maven 2.0.5 and do not encounter this issue. My colleague uses 2.0.7 (on the same project) and encounters this issue. My idea project contains: module filepath=$PROJECT_DIR$/hermes.iml/ module filepath=$PROJECT_DIR$/repository/repository.iml/ ... his contains: module filepath=$PROJECT_DIR$/c:/work/hermes.iml/ module filepath=$PROJECT_DIR$/c:/work/repository/repository.iml/ ... Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_101049 ] Christian Nelson commented on MIDEA-98: --- I agree, I don't think it could. I manually fix my .ipr before even starting IDEA, so there's no chance that the IDE is mucking things up. It's a maven-plugin problem. Is there anything else we can could to help diagnose? Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100882 ] Dennis Lundberg commented on MIDEA-98: -- Ben, what version of IDEA are you using? Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MIDEA-98) Module filepath is generated incorrectly
[ http://jira.codehaus.org/browse/MIDEA-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_100842 ] Christian Nelson commented on MIDEA-98: --- I have run into this same error. WIndows Xp and 2003, Java 1.5.0_12 and 1.6.0_01, Maven 2.0.6 and 2.0.7, IDEA 6.0.5. The project I'm running against can be found at: https://logan.carbonfive.com/svn/public/webapp-reference/tags/maven-idea-bug/ If there's anything I can to to help diagnose, let me know. If it's any help, I only started seeing this behavior very recently... I think it might have been introduced in the last week or two. Module filepath is generated incorrectly Key: MIDEA-98 URL: http://jira.codehaus.org/browse/MIDEA-98 Project: Maven 2.x IDEA Plugin Issue Type: Bug Affects Versions: 2.1 Environment: $ mvn -v Maven version: 2.0.7 Java version: 1.5.0_11 OS name: windows xp version: 5.1 arch: x86 Reporter: Ben Hood I have a multi-module mvn project. When I do an mvn idea:clean idea:idea, the following ProjectModuleManager snippet in the top level .ipr is generated: component name=ProjectModuleManager modules !-- module filepath=$$PROJECT_DIR$$/${pom.artifactId}.iml/ -- module filepath=$PROJECT_DIR$/gateway.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/domain/gateway-domain.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/instruction-store/gateway-instruction-store.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/parser/gateway-parser.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/psrgeneration/gateway-psr-generation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/output/gateway-output.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/destination-resolver/gateway-destination-resolver.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/choreography/gateway-choreography.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/presentation/gateway-presentation.iml/ module filepath=$PROJECT_DIR$/C:/dev/voca/gateway/assembly/gateway-assembly.iml/ /modules /component The $PROJECT_DIR in this case is C:/dev/voca/gateway/. But this path is being appended in a hard-coded fashion after the $PROJECT_DIR entry. The symptom in Intellij is the following error message: Cannot load module: File C:\dev\voca\gateway\C:\dev\voca\gateway\domain\gateway-domain.iml does not exist Would you like to remove the module from the project? The workaround is to delete the extra appended file path from each module entry in the above mentioned snippet. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira