Author: danhaywood
Date: Thu Nov 29 16:13:49 2012
New Revision: 1415234

URL: http://svn.apache.org/viewvc?rev=1415234&view=rev
Log:
ISIS-188: updating addmissinglicenses.groovy for m2e target-ide dir

Modified:
    isis/trunk/framework/addmissinglicenses.groovy

Modified: isis/trunk/framework/addmissinglicenses.groovy
URL: 
http://svn.apache.org/viewvc/isis/trunk/framework/addmissinglicenses.groovy?rev=1415234&r1=1415233&r2=1415234&view=diff
==============================================================================
--- isis/trunk/framework/addmissinglicenses.groovy (original)
+++ isis/trunk/framework/addmissinglicenses.groovy Thu Nov 29 16:13:49 2012
@@ -105,7 +105,7 @@ REM  under the License.
 """
 
 
-def fileEndings = [".java", ".htm"]
+def fileEndings = [".java"]
 //def fileEndings = [".xml", ".html", ".htm", ".shtml", ".css", ".java", 
".sh", ".properties", ".groovy", ".allow", ".passwords", ".bat"]
 
 def licenseTextByFileEnding = [
@@ -130,6 +130,7 @@ def currentDir = new File(".");
 currentDir.eachFileRecurse { file ->
   fileEndings.each { fileEnding ->
     if (! (file.canonicalPath =~ /[\\\/]target[\\\/]/)     && 
+        ! (file.canonicalPath =~ /[\\\/]target-ide[\\\/]/)     &&  
         ! (file.canonicalPath =~ /[\\\/]docbkx[\\\/]/)     &&  
         ! (file.canonicalPath =~ /[\\\/]\.settings[\\\/]/)    ) {
       if (file.name.endsWith(fileEnding)) {


Reply via email to