Fix source rebuilding verification after resulting binaries in dist-folder changed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-03-07 08:32:11 +00:00
parent 1baab551ff
commit ebac51fc6a
1 changed files with 25 additions and 15 deletions

View File

@ -92,17 +92,27 @@ under the License.
<sort> <sort>
<resources> <resources>
<fileset dir="${dist}"> <fileset dir="${dist}">
<include name="poi-3.*.jar" /> <include name="**/poi-3.*.jar" />
<include name="poi-ooxml-3.*.jar" /> <include name="**/poi-ooxml-3.*.jar" />
<include name="poi-ooxml-schemas-3.*.jar" /> <include name="**/poi-ooxml-schemas-3.*.jar" />
<exclude name="*-javadocs-*" /> <exclude name="**/*-javadoc*" />
<exclude name="*-sources-*" /> <exclude name="**/*-sources*" />
</fileset> </fileset>
</resources> </resources>
</sort> </sort>
</pathconvert> </pathconvert>
<echo message="Found jar packages at ${jarpackage}"/> <fail message="Did not find jar packages looking in directory ${dist}">
<condition>
<or>
<equals arg1="${jarpackage}" arg2=""/>
<not>
<isset property="jarpackage"/>
</not>
</or>
</condition>
</fail>
<echo message="Found jar packages at ${jarpackage}, dist: ${dist}"/>
<path id="libs"> <path id="libs">
<fileset dir="../../lib"> <fileset dir="../../lib">
@ -119,7 +129,7 @@ under the License.
<javac srcdir="../examples/src" destdir="${build}" <javac srcdir="../examples/src" destdir="${build}"
target="1.6" target="1.6"
source="1.6" source="1.6"
debug="trye" debug="true"
encoding="ASCII" encoding="ASCII"
fork="yes" fork="yes"
includeantruntime="false" includeantruntime="false"
@ -133,22 +143,22 @@ under the License.
<sort> <sort>
<resources> <resources>
<fileset dir="${dist}"> <fileset dir="${dist}">
<include name="poi-3.*.jar" /> <include name="**/poi-3.*.jar" />
<include name="poi-ooxml-3.*.jar" /> <include name="**/poi-ooxml-3.*.jar" />
<include name="poi-ooxml-schemas-3.*.jar" /> <include name="**/poi-ooxml-schemas-3.*.jar" />
<include name="poi-scratchpad-3.*.jar" /> <include name="**/poi-scratchpad-3.*.jar" />
<exclude name="*-javadocs-*" /> <exclude name="**/*-javadoc*" />
<exclude name="*-sources-*" /> <exclude name="**/*-sources*" />
</fileset> </fileset>
</resources> </resources>
</sort> </sort>
</pathconvert> </pathconvert>
<echo message="Compiling all examples with the additinal scratchpad.jar" /> <echo message="Compiling all examples with the additional scratchpad.jar" />
<javac srcdir="../examples/src" destdir="${build}" <javac srcdir="../examples/src" destdir="${build}"
target="1.6" target="1.6"
source="1.6" source="1.6"
debug="trye" debug="true"
encoding="ASCII" encoding="ASCII"
fork="yes" fork="yes"
includeantruntime="false" includeantruntime="false"