You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/23 07:50:11 UTC

[jira] Created: (MNG-996) add excludes for subprojects in the root iml of a multiproject

add excludes for subprojects in the root iml of a multiproject
--------------------------------------------------------------

         Key: MNG-996
         URL: http://jira.codehaus.org/browse/MNG-996
     Project: Maven 2
        Type: Improvement
  Components: maven-idea-plugin  
 Reporter: Brett Porter
     Fix For: 2.0-beta-3


        <!-- MPIDEA-28: Exclude the subprojects of a multiproject  -->
        <j:if test="${type == 'multiproject'}">
          <j:forEach var="project" items="${reactorProjects}">
            <maven:makeRelativePath var="value" basedir="${basedir}" path="${project.file.parentFile.canonicalFile}" separator="/" />
              <excludeFolder url="file://$$MODULE_DIR$$/${value}"/>
          </j:forEach>
        </j:if>

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-996) add excludes for subprojects in the root iml of a multiproject

Posted by "Johnny R. Ruiz III (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-996?page=all ]

Johnny R. Ruiz III updated MNG-996:
-----------------------------------

    Attachment: MNG-996-maven-idea-plugin.patch

This is a patch for this issue. 

-  I added to the root .ipr  the root.iml of the root project so the root project can be browse.  

<component name="ProjectModuleManager">
    <modules>
      <module fileurl="file://$PROJECT_DIR$/parent-project.iml" filepath="$PROJECT_DIR$/parent-project.iml" />

-  I did not add excludes for subprojects in the root iml of  a multiproject  because by default the modules directory didn't show in the root project.  

I tested this fix in Idea 4.5.4.  Please verify if it is compatible in your Idea version.  

Please apply patch.  Thanks.  

> add excludes for subprojects in the root iml of a multiproject
> --------------------------------------------------------------
>
>          Key: MNG-996
>          URL: http://jira.codehaus.org/browse/MNG-996
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-idea-plugin
>     Reporter: Brett Porter
>     Assignee: Johnny R. Ruiz III
>      Fix For: 2.0.1
>  Attachments: MNG-996-maven-idea-plugin.patch
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
>         <!-- MPIDEA-28: Exclude the subprojects of a multiproject  -->
>         <j:if test="${type == 'multiproject'}">
>           <j:forEach var="project" items="${reactorProjects}">
>             <maven:makeRelativePath var="value" basedir="${basedir}" path="${project.file.parentFile.canonicalFile}" separator="/" />
>               <excludeFolder url="file://$$MODULE_DIR$$/${value}"/>
>           </j:forEach>
>         </j:if>

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-996) add excludes for subprojects in the root iml of a multiproject

Posted by "Johnny R. Ruiz III (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-996?page=all ]

Johnny R. Ruiz III updated MNG-996:
-----------------------------------

             Assign To: Johnny R. Ruiz III
    Remaining Estimate: 3 hours
     Original Estimate: 10800

> add excludes for subprojects in the root iml of a multiproject
> --------------------------------------------------------------
>
>          Key: MNG-996
>          URL: http://jira.codehaus.org/browse/MNG-996
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-idea-plugin
>     Reporter: Brett Porter
>     Assignee: Johnny R. Ruiz III
>      Fix For: 2.0.1

>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
>         <!-- MPIDEA-28: Exclude the subprojects of a multiproject  -->
>         <j:if test="${type == 'multiproject'}">
>           <j:forEach var="project" items="${reactorProjects}">
>             <maven:makeRelativePath var="value" basedir="${basedir}" path="${project.file.parentFile.canonicalFile}" separator="/" />
>               <excludeFolder url="file://$$MODULE_DIR$$/${value}"/>
>           </j:forEach>
>         </j:if>

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-996) add excludes for subprojects in the root iml of a multiproject

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-996?page=all ]
     
Brett Porter closed MNG-996:
----------------------------

    Resolution: Fixed

applied, thanks!

> add excludes for subprojects in the root iml of a multiproject
> --------------------------------------------------------------
>
>          Key: MNG-996
>          URL: http://jira.codehaus.org/browse/MNG-996
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-idea-plugin
>     Reporter: Brett Porter
>     Assignee: Johnny R. Ruiz III
>      Fix For: 2.0.1
>  Attachments: MNG-996-maven-idea-plugin.patch
>
> Original Estimate: 3 hours
>         Remaining: 3 hours
>
>         <!-- MPIDEA-28: Exclude the subprojects of a multiproject  -->
>         <j:if test="${type == 'multiproject'}">
>           <j:forEach var="project" items="${reactorProjects}">
>             <maven:makeRelativePath var="value" basedir="${basedir}" path="${project.file.parentFile.canonicalFile}" separator="/" />
>               <excludeFolder url="file://$$MODULE_DIR$$/${value}"/>
>           </j:forEach>
>         </j:if>

-- 
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org