Author: brett Date: Thu Jun 9 21:44:42 2005 New Revision: 189895 URL: http://svn.apache.org/viewcvs?rev=189895&view=rev Log: PR: MPIDEA-12 Submitted by: Matthew McGowan Reviewed by: Brett Porter exclude build output directory in module
Modified: maven/maven-1/plugins/trunk/idea/plugin.properties maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly maven/maven-1/plugins/trunk/idea/xdocs/changes.xml maven/maven-1/plugins/trunk/idea/xdocs/properties.xml Modified: maven/maven-1/plugins/trunk/idea/plugin.properties URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/idea/plugin.properties?rev=189895&r1=189894&r2=189895&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/idea/plugin.properties (original) +++ maven/maven-1/plugins/trunk/idea/plugin.properties Thu Jun 9 21:44:42 2005 @@ -16,3 +16,4 @@ # Project version - valid values are 3, 4 maven.idea.project.version=4 +maven.idea.target.exclude=true Modified: maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly?rev=189895&r1=189894&r2=189895&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly (original) +++ maven/maven-1/plugins/trunk/idea/src/plugin-resources/templates/v4/module.jelly Thu Jun 9 21:44:42 2005 @@ -121,6 +121,10 @@ <maven:makeRelativePath var="value" basedir="${basedir}" path="${pom.build.unitTestSourceDirectory}" separator="/" /> <sourceFolder url="file://$$MODULE_DIR$$/${value}" isTestSource="true"/> </j:if> + <j:if test="${maven.idea.target.exclude}"> + <maven:makeRelativePath var="value" basedir="${basedir}" path="${maven.build.dir}" separator="/" /> + <excludeFolder url="file://$$MODULE_DIR$$/${value}"/> + </j:if> </content> <orderEntry type="jdk" jdkName="java version "${java.version}""/> <orderEntry type="sourceFolder" forTests="false"/> Modified: maven/maven-1/plugins/trunk/idea/xdocs/changes.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/idea/xdocs/changes.xml?rev=189895&r1=189894&r2=189895&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/idea/xdocs/changes.xml (original) +++ maven/maven-1/plugins/trunk/idea/xdocs/changes.xml Thu Jun 9 21:44:42 2005 @@ -25,6 +25,7 @@ </properties> <body> <release version="1.5.1-SNAPSHOT" date="in SVN"> + <action dev="brett" type="fix" issue="MPIDEA-12" due-to="Matthew McGowan">exclude build output directory in module</action> <action dev="brett" type="fix" issue="MPIDEA-17">set module to JAVA_MODULE for compatibility with both 4.5 and Irida.</action> </release> <release version="1.5" date="2004-06-25"> Modified: maven/maven-1/plugins/trunk/idea/xdocs/properties.xml URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/idea/xdocs/properties.xml?rev=189895&r1=189894&r2=189895&view=diff ============================================================================== --- maven/maven-1/plugins/trunk/idea/xdocs/properties.xml (original) +++ maven/maven-1/plugins/trunk/idea/xdocs/properties.xml Thu Jun 9 21:44:42 2005 @@ -80,6 +80,17 @@ Default value is ${maven.multiproject.basedir} </td> </tr> + <tr> + <td>maven.idea.target.exclude</td> + <td>Yes</td> + <td> + Flag to control exclusion of the target directory from the idea + project. This can give a speed up for large projects and avoids + finding duplicate resources when using "Go to file...". + <br/> + Default value is true. + </td> + </tr> </table> </section> </body> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]