aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2015-12-05 21:58:20 +0000
committerAndreas Beeker <kiwiwings@apache.org>2015-12-05 21:58:20 +0000
commite6ad5aee39f649f6004b1ca30ec2ec192b13958e (patch)
treeb906a74fcb43d8fb760d93526ce0ffa20146d44b /build.xml
parentd2d8f3c4285c80e955d3987e5369dfea6ecdbf9d (diff)
downloadpoi-e6ad5aee39f649f6004b1ca30ec2ec192b13958e.tar.gz
poi-e6ad5aee39f649f6004b1ca30ec2ec192b13958e.zip
xml schemas - remove deprecated warnings, as we prefer the array methods - see #56854
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1718125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml17
1 files changed, 6 insertions, 11 deletions
diff --git a/build.xml b/build.xml
index a031db96f2..b795a99475 100644
--- a/build.xml
+++ b/build.xml
@@ -19,17 +19,6 @@ under the License.
-->
<!--
- POI Build System. Written by:
-
- Glen Stampoultzis glens at apache.org
-
- Modified by:
-
- Rainer Klute klute@rainer-klute.de
- Bruno Girin brunogirin@gmail.com
- Yegor Kozlov yegor at apache.org
- Dominik Stadler centic at apache.org
-
This build was tested with ant 1.9.4 although it will probably work with
other versions, however at least 1.8.0 is required.
@@ -719,6 +708,12 @@ under the License.
<replacevalue>org.apache.poi.POIXMLTypeLoader</replacevalue>
</replace>
+ <!-- remove deprecated warnings, as we prefer the array methods - see #56854 -->
+ <replace dir="${xmlbean.sources.dir}" includes="**/*.java" excludes="**/impl/**">
+ <replacetoken><![CDATA[ * @deprecated
+]]></replacetoken>
+ </replace>
+
<copy todir="${xmlbean.sources.dir}">
<file basedir="${ooxml.src}" file="${ooxml.src}/org/apache/poi/POIXMLTypeLoader.java"/>
</copy>