[jboss-cvs] JBossAS SVN: r80956 - trunk/varia/src/main/org/jboss/tools/license.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 13 16:07:50 EST 2008


Author: dimitris at jboss.org
Date: 2008-11-13 16:07:50 -0500 (Thu, 13 Nov 2008)
New Revision: 80956

Modified:
   trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java
Log:
JBAS-3916, update the location of the license-info.xml file

Modified: trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java
===================================================================
--- trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java	2008-11-13 21:06:52 UTC (rev 80955)
+++ trunk/varia/src/main/org/jboss/tools/license/ValidateLicenseHeaders.java	2008-11-13 21:07:50 UTC (rev 80956)
@@ -50,7 +50,7 @@
 /**
  * A utility which scans all java source files in the cvs tree and validates
  * the license header prior to the package statement for headers that match
- * those declared in thirdparty/licenses/license-info.xml
+ * those declared in varia/src/etc/license-info.xml
  * 
  * @author Scott.Stark at jboss.org
  * @version $Revision$
@@ -85,7 +85,7 @@
    static boolean addDefaultHeader = true;
    static FileFilter dotJavaFilter = new DotJavaFilter();
    /**
-    * The term-headers from the thirdparty/license/license-info.xml
+    * The term-headers from the varia/src/etc/license-info.xml
     */ 
    static TreeMap licenseHeaders = new TreeMap();
    /**
@@ -139,10 +139,10 @@
       System.err.println(u);
 
       // Load the valid copyright statements for the licenses
-      File licenseInfo = new File(jbossSrcRoot, "thirdparty/licenses/license-info.xml");
+      File licenseInfo = new File(jbossSrcRoot, "varia/src/etc/license-info.xml");
       if( licenseInfo.exists() == false )
       {
-         log.severe("Failed to find the thirdparty/licenses/license-info.xml under the src root");
+         log.severe("Failed to find the varia/src/etc/license-info.xml under the src root");
          System.exit(1);
       }
       DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
@@ -487,4 +487,4 @@
          return accept;
       }
    }
-}
\ No newline at end of file
+}




More information about the jboss-cvs-commits mailing list