hbase/dev-support/hbase_jdiff_acrossSingulari...

60 lines
2.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<project name="jdiff" default="jdiff_report" basedir="JDIFF_FOLDER">
<description>
Creates a report in the directory "hbase_jdiff_report-p-PREVIOUS_BRANCH-c-CURRENT_BRANCH" of the default jdiff report folder.
This defaults to /tmp/jdiff but can optionally be specified by export $JDIFF_WORKING_DIRECTORY.
</description>
<target name="jdiff_report" depends="">
<!-- This variable is used by the Ant JDiff task. Set it to the
location where the jdiff package was unpacked -->
<property name="JDIFF_HOME" value="JDIFF_HOME_NAME" />
<property name="OLD_BRANCH" value="OLD_BRANCH_NAME"/>
<property name="NEW_BRANCH" value="NEW_BRANCH_NAME"/>
<taskdef name="jdiff"
classname="jdiff.JDiffAntTask"
classpath="${JDIFF_HOME}/antjdiff.jar" />
<jdiff destdir="hbase_jdiff_report"
verbose="off"
stats="on">
<old name="V1">
<!-- This is the location of your old source files -->
<dirset dir="${OLD_BRANCH}/src/main/java" includes="**" />
</old>
<new name="V2">
<!-- This is the location of your new source files -->
<dirset dir="${NEW_BRANCH}/hbase-server/src/main/java" includes="**" />
<dirset dir="${NEW_BRANCH}/hbase-client/src/main/java" includes="**" />
<dirset dir="${NEW_BRANCH}/hbase-common/src/main/java" includes="**" />
<dirset dir="${NEW_BRANCH}/hbase-protocol/src/main/java" includes="**" />
<dirset dir="${NEW_BRANCH}/hbase-it/src/test/java" includes="**" />
<dirset dir="${NEW_BRANCH}/hbase-hadoop-compat/src/main/java" includes="**" />
<dirset dir="${NEW_BRANCH}/hbase-hadoop2-compat/src/main/java" includes="**" />
</new>
</jdiff>
</target>
</project>