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:
parent
efee7bf83f
commit
bf0dcc16c9
@ -1260,6 +1260,7 @@ under the License.
|
|||||||
|
|
||||||
|
|
||||||
<target name="-check-docs">
|
<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">
|
<uptodate property="main.docs.notRequired" targetfile="${build.site}/index.html">
|
||||||
<srcfiles dir="${main.documentation}" />
|
<srcfiles dir="${main.documentation}" />
|
||||||
</uptodate>
|
</uptodate>
|
||||||
@ -1731,7 +1732,7 @@ under the License.
|
|||||||
<!-- of the checks that this can do -->
|
<!-- of the checks that this can do -->
|
||||||
<target name="forbidden-apis-check" depends="init">
|
<target name="forbidden-apis-check" depends="init">
|
||||||
<taskdef name="forbiddenapis"
|
<taskdef name="forbiddenapis"
|
||||||
classname="de.thetaphi.forbiddenapis.AntTask"
|
classname="de.thetaphi.forbiddenapis.ant.AntTask"
|
||||||
classpath="${forbidden.jar}"/>
|
classpath="${forbidden.jar}"/>
|
||||||
<forbiddenapis
|
<forbiddenapis
|
||||||
internalRuntimeForbidden="true"
|
internalRuntimeForbidden="true"
|
||||||
|
Loading…
Reference in New Issue
Block a user