glens 02/03/16 00:59:16
Modified: src/targets interactive.xtarget project.xtarget
Log:
Readded support for generating records. Hope this helps Andy.
Revision Changes Path
1.2 +10 -9 jakarta-poi/src/targets/interactive.xtarget
Index: interactive.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/src/targets/interactive.xtarget,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- interactive.xtarget 3 Mar 2002 22:25:27 -0000 1.1
+++ interactive.xtarget 16 Mar 2002 08:59:15 -0000 1.2
@@ -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>
1.2 +16 -0 jakarta-poi/src/targets/project.xtarget
Index: project.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/src/targets/project.xtarget,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- project.xtarget 3 Mar 2002 22:25:27 -0000 1.1
+++ project.xtarget 16 Mar 2002 08:59:16 -0000 1.2
@@ -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">