summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorGlen Stampoultzis <glens@apache.org>2002-02-10 04:32:07 +0000
committerGlen Stampoultzis <glens@apache.org>2002-02-10 04:32:07 +0000
commit35ed88b7c1318ec48989247acee98086dd564389 (patch)
tree420ef73622e3157d6511cff4c1bb9e1a764895de /build.xml
parente8bdf9d9596a5e4c603a501ad3f979140bb0b31a (diff)
downloadpoi-35ed88b7c1318ec48989247acee98086dd564389.tar.gz
poi-35ed88b7c1318ec48989247acee98086dd564389.zip
Added support for automatic record generation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index d124561fc7..37df3d57db 100644
--- a/build.xml
+++ b/build.xml
@@ -410,6 +410,23 @@ or
target="${target.vm}">
<classpath refid="scratchpad.classpath"/>
</javac>
+
+ </target>
+
+ <target name="generate-records" depends="prepare"
+ description="Generates the record source code">
+
+ <java classname="org.apache.poi.hssf.util.RecordGenerator" fork="yes">
+ <arg value="src/records/definitions"/>
+ <arg value="src/records/styles"/>
+ <arg value="src/java"/>
+ <arg value="src/testcases"/>
+ <classpath>
+ <path refid="classpath"/>
+ <pathelement location="${build.dest}"/>
+ </classpath>
+ </java>
+
</target>
<!-- =================================================================== -->