1 <?xml version="1.0" encoding="UTF-8"?>
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
7 http://www.apache.org/licenses/LICENSE-2.0
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
16 <project name="jdiff" default="jdiff_report" basedir="JDIFF_FOLDER">
19 Creates a report in the directory "hbase_jdiff_report-p-PREVIOUS_BRANCH-c-CURRENT_BRANCH" of the default jdiff report folder.
20 This defaults to /tmp/jdiff but can optionally be specified by export $JDIFF_WORKING_DIRECTORY.
23 <target name="jdiff_report" depends="">
24 <!-- This variable is used by the Ant JDiff task. Set it to the
25 location where the jdiff package was unpacked -->
26 <property name="JDIFF_HOME" value="JDIFF_HOME_NAME" />
27 <property name="OLD_BRANCH" value="OLD_BRANCH_NAME"/>
28 <property name="NEW_BRANCH" value="NEW_BRANCH_NAME"/>
31 classname="jdiff.JDiffAntTask"
32 classpath="${JDIFF_HOME}/antjdiff.jar" />
33 <jdiff destdir="hbase_jdiff_report"
37 <!-- This is the location of your old source files -->
38 <dirset dir="${OLD_BRANCH}/src/main/java" includes="**" />
41 <!-- This is the location of your new source files -->
42 <dirset dir="${NEW_BRANCH}/hbase-server/src/main/java" includes="**" />
43 <dirset dir="${NEW_BRANCH}/hbase-client/src/main/java" includes="**" />
44 <dirset dir="${NEW_BRANCH}/hbase-common/src/main/java" includes="**" />
45 <dirset dir="${NEW_BRANCH}/hbase-protocol/src/main/java" includes="**" />
46 <dirset dir="${NEW_BRANCH}/hbase-it/src/test/java" includes="**" />
47 <dirset dir="${NEW_BRANCH}/hbase-hadoop-compat/src/main/java" includes="**" />
48 <dirset dir="${NEW_BRANCH}/hbase-hadoop2-compat/src/main/java" includes="**" />