Putting generate-records and geerate types in scratchpad builds.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352252 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d4d3c829c4
commit
069924a9ca
20
src/scratchpad/targets/generate-records.xml
Normal file
20
src/scratchpad/targets/generate-records.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
<project default="generate-records" basedir=".." name="generate-records">
|
||||||
|
<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>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
|
17
src/scratchpad/targets/generate-types.xml
Normal file
17
src/scratchpad/targets/generate-types.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<project default="generate-types" basedir=".." name="generate-types">
|
||||||
|
<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>
|
||||||
|
</project>
|
@ -14,8 +14,8 @@
|
|||||||
<echo message=" These are SCRATCHPAD BUILDS. They are not guaranteed to work."/>
|
<echo message=" These are SCRATCHPAD BUILDS. They are not guaranteed to work."/>
|
||||||
<echo message=" You have been warned. "/>
|
<echo message=" You have been warned. "/>
|
||||||
<echo message=" "/>
|
<echo message=" "/>
|
||||||
<echo message=" --------------"/>
|
<echo message=" generate-records - add description here"/>
|
||||||
<echo message=" --------------"/>
|
<echo message=" generate-types - add description here"/>
|
||||||
<echo message=" --------------"/>
|
<echo message=" --------------"/>
|
||||||
<echo message=" --------------"/>
|
<echo message=" --------------"/>
|
||||||
<echo message=" --------------"/>
|
<echo message=" --------------"/>
|
||||||
|
@ -2,39 +2,6 @@
|
|||||||
<!-- Extra targets for this project -->
|
<!-- Extra targets for this project -->
|
||||||
<!-- =================================================================== -->
|
<!-- =================================================================== -->
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<target name="ABC" description="Abc" depends="init">
|
<target name="ABC" description="Abc" depends="init">
|
||||||
|
Loading…
Reference in New Issue
Block a user