diff options
author | jfrijters <jfrijters> | 2013-02-07 13:46:35 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2013-02-07 13:46:35 +0400 |
commit | ca4c15a9d40971f849bdf7abe91ae3f1960bc386 (patch) | |
tree | 2310d06b8ab674129c3c596f5294ba5e7c59b756 /openjdk | |
parent | 7f05a1fc4dfec74b1982ea7ea59e442effaf3132 (diff) |
Changed the build system to automtically scan all sources files for copyright statements and validate that all GPL licensed files include the Classpath exception.
Diffstat (limited to 'openjdk')
-rw-r--r-- | openjdk/AssemblyInfo.java.in | 25 | ||||
-rw-r--r-- | openjdk/openjdk.build | 8 |
2 files changed, 9 insertions, 24 deletions
diff --git a/openjdk/AssemblyInfo.java.in b/openjdk/AssemblyInfo.java.in index ca079f26..37ae9b91 100644 --- a/openjdk/AssemblyInfo.java.in +++ b/openjdk/AssemblyInfo.java.in @@ -1,5 +1,5 @@ /* - Copyright (C) 2006-2009 Jeroen Frijters + Copyright (C) 2006-2013 Jeroen Frijters This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -25,28 +25,7 @@ @cli.System.Reflection.AssemblyCopyrightAttribute.Annotation( "This software is licensed under the GNU General Public License version 2 + \"Classpath\" exception.\r\n" + "See http://www.gnu.org/software/classpath/license.html for details.\r\n" + - "Copyright (C) 1988 AT&T\r\n" + - "Copyright (C) 2004 BEA Systems\r\n" + - "Copyright (C) 1995 Colin Plumb\r\n" + - "Copyright (C) 1999-2008 Free Software Foundation, Inc.\r\n" + - "Copyright (C) 2001-2005 freebxml.org\r\n" + - "Copyright (C) 1998 FundsXpress, Inc.\r\n" + - "Copyright (C) 2008-2011 i-net software\r\n" + - "Copyright (C) 2000-2007 INRIA, France Telecom\r\n" + - "Copyright (C) 1993-2005 International Business Machines, Inc.\r\n" + - "Copyright (C) 2002-2011 Jeroen Frijters\r\n" + - "Copyright (C) 1993-2010 Oracle and/or its affiliates\r\n" + - "Copyright (C) 2007 Red Hat, Inc.\r\n" + - "Copyright (C) 1996-1998 Taligent, Inc.\r\n" + - "Copyright (C) 2001-2002 Thai Open Source Software Center Ltd\r\n" + - "Copyright (C) 1999-2006 The Apache Software Foundation\r\n" + - "Copyright (C) 1995-2000 The Cryptix Foundation Limited\r\n" + - "Copyright (C) 1997 The Open Group Research Institute\r\n" + - "Copyright (C) 1991-2007 Unicode, Inc.\r\n" + - "Copyright (C) 1999 Visual Numerics Inc.\r\n" + - "Copyright (C) 2003 Wily Technology, Inc.\r\n" + - "Copyright (C) 2000-2004 World Wide Web Consortium" -) +@COPYRIGHT@) @cli.System.Reflection.AssemblyTitleAttribute.Annotation("IKVM.NET OpenJDK Library for .NET") @cli.System.Reflection.AssemblyProductAttribute.Annotation("IKVM.NET") diff --git a/openjdk/openjdk.build b/openjdk/openjdk.build index 72a0bae2..37f23b2d 100644 --- a/openjdk/openjdk.build +++ b/openjdk/openjdk.build @@ -17,6 +17,11 @@ <property name="VERSION" value="${assemblyname::get-version(assemblyname::get-assembly-name(path::combine(project::get-base-directory(), '../bin/IKVM.Runtime.dll')))}" /> </target> + <target name="copyright" depends="allsources.gen.lst"> + <exec program="${project::get-base-directory()}/../tools/SourceLicenseAnalyzer.exe" output="copyright.txt" useruntimeengine="true" /> + <loadfile file="copyright.txt" property="COPYRIGHT" /> + </target> + <target name="allsources.gen.lst"> <copy file="allsources.lst" tofile="allsources.gen.lst" outputencoding="ascii" overwrite="true"> <filterchain> @@ -65,7 +70,7 @@ </delete> </target> - <target name="classes" depends="version allsources.gen.lst System.Core"> + <target name="classes" depends="version copyright allsources.gen.lst System.Core"> <delete> <fileset basedir="../classpath"> <include name="**.class"/> @@ -104,6 +109,7 @@ <replacetokens> <token key="RUNTIME" value="${IKVM.Runtime}" /> <token key="VERSION" value="${VERSION}" /> + <token key="COPYRIGHT" value="${COPYRIGHT}" /> </replacetokens> </filterchain> </copy> |