creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r1405594 - /creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java
Date Sun, 04 Nov 2012 17:55:40 GMT
Author: dennisl
Date: Sun Nov  4 17:55:40 2012
New Revision: 1405594

URL: http://svn.apache.org/viewvc?rev=1405594&view=rev
Log:
[RAT-124] Rat plugin should exclude the configuration directory used by IDEA

Modified:
    creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java

Modified: creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java?rev=1405594&r1=1405593&r2=1405594&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java
(original)
+++ creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java
Sun Nov  4 17:55:40 2012
@@ -69,7 +69,7 @@ public abstract class AbstractRatMojo ex
     /**
      * The IDEA specific default excludes.
      */
-    public static final String[] IDEA_DEFAULT_EXCLUDES = new String[] { "*.iml", "*.ipr",
"*.iws" };
+    public static final String[] IDEA_DEFAULT_EXCLUDES = new String[] { "*.iml", "*.ipr",
"*.iws", ".idea/**/*" };
 
     /**
      * The base directory, in which to search for files.
@@ -156,7 +156,7 @@ public abstract class AbstractRatMojo ex
 
     /**
      * Whether to use the IDEA specific default excludes when scanning for files. IDEA specific
default excludes are
-     * given by the constant IDEA_DEFAULT_EXCLUDES: The *.iml, *.ipr and *.iws files.
+     * given by the constant IDEA_DEFAULT_EXCLUDES: The *.iml, *.ipr and *.iws files and
the .idea directory.
      * 
      */
     @Parameter(property = "rat.useIdeaDefaultExcludes", defaultValue = "true")



Mime
View raw message