Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2013-02-07 13:46:35 +0400
committerjfrijters <jfrijters>2013-02-07 13:46:35 +0400
commitca4c15a9d40971f849bdf7abe91ae3f1960bc386 (patch)
tree2310d06b8ab674129c3c596f5294ba5e7c59b756 /openjdk/openjdk.build
parent7f05a1fc4dfec74b1982ea7ea59e442effaf3132 (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/openjdk.build')
-rw-r--r--openjdk/openjdk.build8
1 files changed, 7 insertions, 1 deletions
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>