Ant build: Use correct AntTask as reported by forbidden-apis-check, Print out which documentation directory is looked at in -check-docs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1707055 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2015-10-06 13:36:30 +00:00
parent efee7bf83f
commit bf0dcc16c9
1 changed files with 2 additions and 1 deletions

View File

@ -1260,6 +1260,7 @@ under the License.
<target name="-check-docs">
<echo message="Checking if documentation recreation is necessary, i.e. if any file at ${main.documentation} is newer than ${build.site}/index.html"/>
<uptodate property="main.docs.notRequired" targetfile="${build.site}/index.html">
<srcfiles dir="${main.documentation}" />
</uptodate>
@ -1731,7 +1732,7 @@ under the License.
<!-- of the checks that this can do -->
<target name="forbidden-apis-check" depends="init">
<taskdef name="forbiddenapis"
classname="de.thetaphi.forbiddenapis.AntTask"
classname="de.thetaphi.forbiddenapis.ant.AntTask"
classpath="${forbidden.jar}"/>
<forbiddenapis
internalRuntimeForbidden="true"