poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Owen <so...@cs.manchester.ac.uk>
Subject Re: Problems building Apache POI 3.8 on Ubuntu 10.04
Date Mon, 02 Apr 2012 14:43:21 GMT
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: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message