rat-scan.xml (4f913391) rat-scan.xml (62c80a07)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 11 unchanged lines hidden (view full) ---

20 *
21 ***********************************************************-->
22<project name="Check OpenOffice License Files" default="buildsources"
23 xmlns:rat="antlib:org.apache.rat.anttasks"
24 xmlns="antlib:org.apache.tools.ant">
25 <description>
26 Check over Apache OpenOffice source files for license headers.
27 </description>
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the

--- 11 unchanged lines hidden (view full) ---

20 *
21 ***********************************************************-->
22<project name="Check OpenOffice License Files" default="buildsources"
23 xmlns:rat="antlib:org.apache.rat.anttasks"
24 xmlns="antlib:org.apache.tools.ant">
25 <description>
26 Check over Apache OpenOffice source files for license headers.
27 </description>
28 <property name="version" value="AOO 4.0"/>
28 <property name="version" value="AOO 4.1.0"/>
29 <property environment="env"/>
30 <property name="src-dir" location="${env.SRC_ROOT}/.."/>
31
32 <!-- Run the rat scan on a fileset whose ecludes are defined by main/rat-excludes.
33 Note that ant adds a list of default excludes like **/*~ or **/.svn.
34 For the complete list see here: http://ant.apache.org/manual/dirtasks.html#defaultexcludes
35 -->
36 <target name="buildsources"
37 depends="taskdef"
38 description="runs the tasks over OpenOffice tree.">
29 <property environment="env"/>
30 <property name="src-dir" location="${env.SRC_ROOT}/.."/>
31
32 <!-- Run the rat scan on a fileset whose ecludes are defined by main/rat-excludes.
33 Note that ant adds a list of default excludes like **/*~ or **/.svn.
34 For the complete list see here: http://ant.apache.org/manual/dirtasks.html#defaultexcludes
35 -->
36 <target name="buildsources"
37 depends="taskdef"
38 description="runs the tasks over OpenOffice tree.">
39 <tstamp/>
39 <tstamp>
40 <format property="scan.time" pattern="MM/dd/yyyy hh:mm aa"/>
41 </tstamp>
40 <echo level="info">
42 <echo level="info">
41 Timestamp: ${DSTAMP} ${TSTAMP}
43 Timestamp: ${scan.time}
42 </echo>
43 <rat:report format="xml" reportFile="${RAT_SCAN_OUTPUT}">
44 <fileset dir="${src-dir}" id="included-files">
45 <excludesfile name="${src-dir}/main/rat-excludes"/>
46 <excludesfile name="${src-dir}/main/rat-excludes-solver"/>
47 <exclude name=".buildbot-sourcedata"/>
48 </fileset>
49 </rat:report>

--- 52 unchanged lines hidden ---
44 </echo>
45 <rat:report format="xml" reportFile="${RAT_SCAN_OUTPUT}">
46 <fileset dir="${src-dir}" id="included-files">
47 <excludesfile name="${src-dir}/main/rat-excludes"/>
48 <excludesfile name="${src-dir}/main/rat-excludes-solver"/>
49 <exclude name=".buildbot-sourcedata"/>
50 </fileset>
51 </rat:report>

--- 52 unchanged lines hidden ---