[ http://jira.codehaus.org/browse/MPIDEA-35?page=all ] Brett Porter closed MPIDEA-35: ------------------------------
Assign To: Brett Porter Resolution: Duplicate Fix Version: (was: 1.5) was already fixed in IDEA plugin 1.6 > Patch for .iml template for Irida (Idea 5) > ------------------------------------------ > > Key: MPIDEA-35 > URL: http://jira.codehaus.org/browse/MPIDEA-35 > Project: maven-idea-plugin > Type: Bug > Versions: 1.5 > Environment: Irida (Idea 5) > Reporter: Otto von Wachter > Assignee: Brett Porter > Attachments: module.jelly.patch, module.jelly.patch, module.jelly.patch2 > > > The problem is that maven generated .iml files don't specify module type, so > Idea gives a warning and doesn't allow to see module properties in the > project properties window. > The solution: (patch to maven-idea-plugin-1.5\plugin-resources\templates\v4) > *** module.jelly.bak Fri Jun 25 13:13:36 2004 > --- module.jelly Thu Jun 23 10:17:20 2005 > *************** > *** 22,33 **** > <maven:get var="type" plugin="maven-multiproject-plugin" > property="maven.multiproject.type" /> > > <j:set var="IDEA_TYPE" value=""/> > ! <j:if test="${type == 'ejb'}"> > <j:set var="IDEA_TYPE" value="J2EE_EJB_MODULE"/> > ! </j:if> > ! <j:if test="${type == 'war'}"> > <j:set var="IDEA_TYPE" value="J2EE_WEB_MODULE"/> > ! </j:if> > > <module version="4" relativePaths="false" type="${IDEA_TYPE}"> > <j:if test="${type == 'ejb'}"> > --- 22,38 ---- > <maven:get var="type" plugin="maven-multiproject-plugin" > property="maven.multiproject.type" /> > > <j:set var="IDEA_TYPE" value=""/> > ! <j:choose> > ! <j:when test="${type == 'ejb'}"> > <j:set var="IDEA_TYPE" value="J2EE_EJB_MODULE"/> > ! </j:when> > ! <j:when test="${type == 'war'}"> > <j:set var="IDEA_TYPE" value="J2EE_WEB_MODULE"/> > ! </j:when> > ! <j:otherwise> > ! <j:set var="IDEA_TYPE" value="JAVA_MODULE"/> > ! </j:otherwise> > ! </j:choose> > > <module version="4" relativePaths="false" type="${IDEA_TYPE}"> > <j:if test="${type == 'ejb'}"> -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]