nicolaken 02/03/23 07:45:41
Modified: src/scratchpad/targets scratchpad.xtarget
tools/centipede/targets preinit.xtarget
Removed: src/scratchpad/targets generate-records.xml
generate-types.xml
Log:
Corrected scratchpad targets (generate-*)
Revision Changes Path
1.3 +34 -2 jakarta-poi/src/scratchpad/targets/scratchpad.xtarget
Index: scratchpad.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/src/scratchpad/targets/scratchpad.xtarget,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- scratchpad.xtarget 19 Mar 2002 08:45:46 -0000 1.2
+++ scratchpad.xtarget 23 Mar 2002 15:45:41 -0000 1.3
@@ -1,7 +1,7 @@
<!-- =================================================================== -->
<!-- Interactive scratchpad builds -->
<!-- =================================================================== -->
- <target name="scratchpad" depends="init" description="Interactive Scratchpad
Build">
+ <target name="scratchpad" depends="prepare" description="Interactive Scratchpad
Build">
<echo message="--------------------------------------------------------------"/>
<echo message=" "/>
<echo message=" ${fullname} ${version} SCRATCHPAD "/>
@@ -25,6 +25,38 @@
<property name="input.selection" value=""/>
<user-input name="input.selection">Please select a target </user-input>
- <ant antfile="src/scratchpad/targets/${input.selection}.xml"/>
+ <antcall target="${input.selection}"/>
</target>
+
+ <target name="generate-records" depends="prepare"
+ description="Generates the record source code">
+
+ <java classname="org.apache.poi.dev.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="generate-types" depends="prepare"
+ description="Generates the record source code">
+
+ <java classname="org.apache.poi.dev.RecordGenerator" fork="yes">
+ <arg value="src/types/definitions"/>
+ <arg value="src/types/styles"/>
+ <arg value="src/scratchpad/src"/>
+ <arg value="src/scratchpad/testcases"/>
+ <classpath>
+ <path refid="scratchpad.classpath"/>
+ <pathelement location="${build.scratchpad.dest}"/>
+ </classpath>
+ </java>
+
+ </target>
\ No newline at end of file
1.5 +1 -1 jakarta-poi/tools/centipede/targets/preinit.xtarget
Index: preinit.xtarget
===================================================================
RCS file: /home/cvs/jakarta-poi/tools/centipede/targets/preinit.xtarget,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- preinit.xtarget 20 Mar 2002 12:35:26 -0000 1.4
+++ preinit.xtarget 23 Mar 2002 15:45:41 -0000 1.5
@@ -51,7 +51,7 @@
<pathelement path="${build.root}/jakarta-poi/classes"/>
</path>
- <path id="scratchpad.classpath">
+ <path id="scratchpad.classpath">
<fileset dir="./lib/endorsed">
<include name="*.jar"/>
</fileset>