Thanks Nick,
Getting Closer:
Quick question on this, I need to recompile with Line numbers on (for the
debugger).
Do you know how I can do that. (you may want to make that a permanent
change...)
here is the ant task for ref: (I have added some echo message directives...)
<target name="compile-ooxml-xsds"
depends="check-jars,fetch-jars,check-compiled-ooxml-xsds"
description="Unpacks the OOXML xsd files, and compiles them into
XmlBeans">
<property name="ooxml.xsds.tmp.dir" location="build/ooxml-xsds"/>
<echo message="setting property : ooxml.xsds.tmp.dir -
${ooxml.xsds.tmp.dir}"/>
<mkdir dir="${ooxml.xsds.tmp.dir}"/>
<taskdef name="xmlbean"
classname="org.apache.xmlbeans.impl.tool.XMLBean"
classpath="${ooxml.xmlbeans.jar}:${ooxml.jsr173.jar}"/>
<echo message="unzip ${ooxml.xsds.izip} into - ${ooxml.xsds.tmp.dir}"/>
<unzip src="${ooxml.xsds.izip}" dest="${ooxml.xsds.tmp.dir}"/>
<!--
schema="build/ooxml-xsds/"
schema="build/ooxml-xsds/sml-workbook.xsd"
-->
<echo message="xmlbean task : schema->${ooxml.xsds.tmp.dir} :
srcgendir - ${ooxml.xsds.src.dir} : destfile - ${ooxml.xsds.jar} "/>
<xmlbean
schema="${ooxml.xsds.tmp.dir}"
srcgendir="${ooxml.xsds.src.dir}"
optimize="yes"
destfile="${ooxml.xsds.jar}"
javasource="1.5"
failonerror="true"
fork="true"
memoryMaximumSize="512m"
>
<classpath refid="ooxml.classpath"/>
</xmlbean>
<echo message="jar the schema sources: basedir - ${ooxml.xsds.src.dir}
: destfile - ${ooxml.xsds.src.jar}"/>
<!-- Now make a jar of the schema sources -->
<jar
basedir="${ooxml.xsds.src.dir}"
destfile="${ooxml.xsds.src.jar}"
/>
<echo message="leaving ooxml-compile-xsds"/>
</target>
Bryce Alcock * Performance Architect * SunGard *
Asset Arena * 377 E. Butterfield Road Suite 800, Lombard, IL 60148 *
Tel 630-986-3006 * Confidential Fax 630-515-1908 *
www.sungard.com/assetarena
-----Original Message-----
From: Nick Burch [mailto:[email protected]]
Sent: Wed 5/5/2010 5:06 PM
To: POI Developers List
Subject: Re: Performance Question with CTSheetDataImpl.java
On Wed, 5 May 2010, [email protected] wrote:
> My Question:
> I cannot find the CTSheetDataImpl.java code.
> Where is that code, is it opensource?
It's one of the files that are auto-generated by xmlbeans from the ecma /
microsoft XSDs. If you download the source to poi and execute the ant task
"compile-ooxml-xsds", it will get xmlbeans to generate a source jar file
for you.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]