org.jboss.tools.license
Class ValidateLicenseHeaders

java.lang.Object
  extended by org.jboss.tools.license.ValidateLicenseHeaders

public class ValidateLicenseHeaders
extends Object

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

Version:
$Revision: 57184 $
Author:
Scott.Stark@jboss.org

Constructor Summary
ValidateLicenseHeaders()
           
 
Method Summary
static String getElementContent(Element element)
          Get all non-comment content from the element.
static void main(String[] args)
          ValidateLicenseHeaders jboss-src-root
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidateLicenseHeaders

public ValidateLicenseHeaders()
Method Detail

main

public static void main(String[] args)
                 throws Exception
ValidateLicenseHeaders jboss-src-root

Parameters:
args -
Throws:
Exception

getElementContent

public static String getElementContent(Element element)
Get all non-comment content from the element.

Parameters:
element -
Returns:
the concatenated text/cdata content


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.