Readded support for generating records. Hope this helps Andy.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352225 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2002-03-16 08:59:16 +00:00
parent dfb7381e3f
commit 1186999dbc
2 changed files with 26 additions and 9 deletions

View File

@ -14,15 +14,16 @@
<echo message=" You can also invoke them directly; see build.xml for more info. "/>
<echo message=" Builds will be in /build directory, distributions in /dist."/>
<echo message=" "/>
<echo message=" compile ------ compiles the source code "/>
<echo message=" docs --------- generates the html docs"/>
<echo message=" cleandocs ---- cleans the build docs directory"/>
<echo message=" javadocs ----- generates the API documentation"/>
<echo message=" test --------- performs the jUnit tests"/>
<echo message=" clean -------- cleans the build directory"/>
<echo message=" dist --------- creates src and bin distributions"/>
<echo message=" scratchpad --- build-run scratchpad code"/>
<echo message=" contrib ------ build-run contributed code"/>
<echo message=" compile ---------- compiles the source code "/>
<echo message=" docs ------------- generates the html docs"/>
<echo message=" cleandocs -------- cleans the build docs directory"/>
<echo message=" javadocs --------- generates the API documentation"/>
<echo message=" test ------------- performs the jUnit tests"/>
<echo message=" clean ------------ cleans the build directory"/>
<echo message=" dist ------------- creates src and bin distributions"/>
<echo message=" scratchpad ------- build-run scratchpad code"/>
<echo message=" contrib ---------- build-run contributed code"/>
<echo message=" generate-records - generate excel records"/>
<property name="input.selection" value="compile"/>
<user-input name="input.selection">Please select a target </user-input>

View File

@ -2,6 +2,22 @@
<!-- Extra targets for this project -->
<!-- =================================================================== -->
<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="scratchpad.classpath"/>
<pathelement location="${build.scratchpad.dest}"/>
</classpath>
</java>
</target>
<!--
<target name="ABC" description="Abc" depends="init">