On 29/03/2012 11:04, Nick Burch wrote:
On Thu, 29 Mar 2012, Stuart Owen wrote:
I get a build error when I try and build the downloaded src package for 3.8. This is on Ubuntu 10.04 (LTS) with the latest updates.
   I downloaded poi-src-3.8-20120326.tar.gz and run
ant clean
ant dist

Builds for me just fine on 10.04 with OpenJDK, and the system supplied ant (1.7.1), so I'm not sure what's different for you


build.xml:412: taskdef class org.apache.xmlbeans.impl.tool.XMLBean cannot be found

The jar that provides this should be downloaded automatically, and included on the classpath when the task is defined. Can you check that xmlbeans-2.3.0.jar was downloaded to your ooxml-lib directory, and it's a valid (non corrupt) jar file - try doing "jar tvf" on it to check it lists properly
It does seem to be a problem downloading the xmlbeans jar, as jar tvf reports an error opening the zip file. What is strange is that it always occurs, I have tried removing the jar file and re-downloading it several times with the same result. However, if I copy the link and download via my browser the file is fine. I am using the sun-java6-jdk which appears to be the only difference - I will try again using OpenJDK later.

Stuart.

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]

Reply via email to