summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2018-02-11 22:09:58 +0000
committerAndreas Beeker <kiwiwings@apache.org>2018-02-11 22:09:58 +0000
commitfc0cc159032a58740e09325375b05a1402690a31 (patch)
treeed5d153e2cc0ebf9496fb6dfa1e8a1265ff37344 /build.xml
parent8284c501c31e58df5455858df31c45976cf4d7fc (diff)
downloadpoi-fc0cc159032a58740e09325375b05a1402690a31.tar.gz
poi-fc0cc159032a58740e09325375b05a1402690a31.zip
Update JAXB classes with fixed javadocs for java 8 doclint
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 5a2fb14044..242b2513a5 100644
--- a/build.xml
+++ b/build.xml
@@ -965,8 +965,6 @@ under the License.
<target name="generate-geometry" depends="fetch-ooxml-xsds" if="ignoreme">
<delete dir="${geometry.output.tmpdir}"/>
- <!-- taskdef xjc -->
- <!-- "D:\Program Files\Java\jdk1.6.0_45\bin\xjc" -p org.apache.poi.sl.model.geom.binding -readOnly -Xlocator -mark-generated ooxml-schemas\dml-shapeGeometry.xsd -->
<unzip src="${ooxml.lib}/${ooxml.xsds.izip.1}" dest="${geometry.output.tmpdir}"/>
<exec executable="${env.JAVA_HOME}/bin/xjc">
<arg value="-p"/>
@@ -974,8 +972,8 @@ under the License.
<arg value="-b"/>
<arg file="src/types/definitions/dml-shapeGeometry.xjb"/>
<arg value="-readOnly"/>
- <arg value="-npa"/>
<arg value="-no-header"/>
+ <!--arg value="-npa"/ -->
<!--arg value="-mark-generated"/ -->
<!--arg value="-Xlocator"/ -->
<arg file="${geometry.output.tmpdir}/dml-shapeGeometry.xsd"/>
@@ -991,6 +989,9 @@ under the License.
<fileset dir="${geometry.output.tmpdir}" includes="**/*.java"/>
<filterchain>
<concatfilter prepend="${geometry.output.tmpdir}/apache-license.txt"/>
+ <!-- fix javadocs for java 8 doclint -->
+ <replaceregex pattern="&amp;lt;(.*)>" replace="&amp;lt;\1&amp;gt;" flags="g"/>
+ <fixcrlf eol="lf"/>
</filterchain>
</copy>
</target>