You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Levi Strope <ls...@besttransport.com> on 2007/03/20 16:07:06 UTC

problems with POI build

I'm using ANT 1.7 and there is no optional.jars - has anyone worked
through this before?

 

Additionally - I did include all required .JARS per the 'How to Build'
instructions - but I get an error telling me org.apache.xalan does not
exist.  It doesn't exist but I did include it in %ANT_HOME%/lib so I'm
not sure what I need to do.

 

 


RE: Re[2]: problems with POI build

Posted by Levi Strope <ls...@besttransport.com>.
Then I think the problem may be with Eclipse 3.2.  In Eclipse 3.2 if I
follow the build instructions the ANT build script errors out every time
because the directories it is looking for do not exist.

I manually created the directories but I'm still unable to get past the
error that says org.apache.xalan does not exist.  In my situation I've
had to place a lot of these files manually, but no matter what I do this
still causes problems. 

Could it be the version of xalan that I am pulling down?  I believe the
version was 2.7.

-----Original Message-----
From: Yegor Kozlov [mailto:yegor@dinom.ru] 
Sent: Thursday, March 22, 2007 12:59 PM
To: POI Users List
Subject: Re[2]: problems with POI build

Hi,

I don't quite understand what's wrong with POI. I'm using Ant 1.6.2
and it works fine for me.

POI build.xml is all-sufficient. It downloads the required jars if
they are missing. No intervention in Ant's config is required.

Regards,
Yegor
LS> Has anyone tested this with a newer version of ANT other than 1.5.3?

 

 

LS> ________________________________

LS> From: Levi Strope [mailto:lstrope@besttransport.com] 
LS> Sent: Tuesday, March 20, 2007 11:07 AM
LS> To: poi-user@jakarta.apache.org
LS> Subject: problems with POI build

 

LS> I'm using ANT 1.7 and there is no optional.jars - has anyone worked
LS> through this before?

 

LS> Additionally - I did include all required .JARS per the 'How to
Build'
LS> instructions - but I get an error telling me org.apache.xalan does
not
LS> exist.  It doesn't exist but I did include it in %ANT_HOME%/lib so
I'm
LS> not sure what I need to do.


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


RE: Re[2]: problems with POI build

Posted by Levi Strope <ls...@besttransport.com>.
I'm using JDK 1.5.



-----Original Message-----
From: Yegor Kozlov [mailto:yegor@dinom.ru] 
Sent: Friday, March 23, 2007 3:28 AM
To: POI Users List
Subject: Re[2]: problems with POI build

I use JDK 1.4.2 and JDK 1.5.

To build POI users need JDK 1.4 or greater. It should be reflected it
the docs somehow.

Compilation under JDK 1.3 fails. I've just tried it and got 68 errors.

Does it concerns you?

Yegor

AO> Which JDK?

AO> Yegor Kozlov wrote:
>> Hi,
>>
>> I don't quite understand what's wrong with POI. I'm using Ant 1.6.2
>> and it works fine for me.
>>
>> POI build.xml is all-sufficient. It downloads the required jars if
>> they are missing. No intervention in Ant's config is required.
>>
>> Regards,
>> Yegor
>> LS> Has anyone tested this with a newer version of ANT other than
1.5.3?
>>
>>  
>>
>>  
>>
>> LS> ________________________________
>>
>> LS> From: Levi Strope [mailto:lstrope@besttransport.com] 
>> LS> Sent: Tuesday, March 20, 2007 11:07 AM
>> LS> To: poi-user@jakarta.apache.org
>> LS> Subject: problems with POI build
>>
>>  
>>
>> LS> I'm using ANT 1.7 and there is no optional.jars - has anyone
worked
>> LS> through this before?
>>
>>  
>>
>> LS> Additionally - I did include all required .JARS per the 'How to
Build'
>> LS> instructions - but I get an error telling me org.apache.xalan
does not
>> LS> exist.  It doesn't exist but I did include it in %ANT_HOME%/lib
so I'm
>> LS> not sure what I need to do.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>   


AO>
---------------------------------------------------------------------
AO> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
AO> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
AO> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Outputting CSV files

Posted by Levi Strope <ls...@besttransport.com>.
Can HSSF read in an XLS file and output a CSV?  

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Still having problems building POI

Posted by Nick Burch <ni...@torchbox.com>.
On Fri, 30 Mar 2007, Levi Strope wrote:
> I'm sorry to keep pinging the list with something as rudimentary as this 
> - but I am having a very hard time getting this to build.

It looks like you're having issues with 2.5.1? If so, try with 3.0 RC3, as 
there have been a few updates to the build process since then.

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Still having problems building POI

Posted by Levi Strope <ls...@besttransport.com>.
I'm sorry to keep pinging the list with something as rudimentary as this
- but I am having a very hard time getting this to build.

I am following the instructions on the "how to build" page, but I still
get build errors.  Can someone please take a look at the ANT build
dialogue below and give me any insight you might have? I am using ANT
1.7 and I am using Eclipse 3.2.   If anyone has built this with eclipse
is there something special I need to configure?

I made sure to put the xalan JAR file in the ANT lib directory...  but
this still does not like it. 
 

Buildfile: C:\Program Installs\poi-src-2.5.1-final-20040804\build.xml
check-jars:
fetch-jars:
init:
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\contrib-classes
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\scratchpad-classes
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\test-classes
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\contrib-test-classes
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\scratchpad-test-classes
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\test-results
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\scratchpad-test-results
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\contrib-test-results
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\tmp\site\build\site\junit
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\tmp\site\build\site\jdepend
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\tmp\site\src\documentation\c
ontent\jdepend
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\tmp\site\build\site\apidocs
    [mkdir] Created dir: C:\Program
Installs\poi-src-2.5.1-final-20040804\build\dist
     [copy] Copying 174 files to C:\Program
Installs\poi-src-2.5.1-final-20040804\build\tmp\site\src\documentation
     [copy] Copying 1 file to C:\Program
Installs\poi-src-2.5.1-final-20040804\build\tmp\site
compile-main:
     [copy] Copying 1 file to C:\Program
Installs\poi-src-2.5.1-final-20040804\build\classes
    [javac] Compiling 161 source files to C:\Program
Installs\poi-src-2.5.1-final-20040804\build\test-classes
    [javac] Note: C:\Program
Installs\poi-src-2.5.1-final-20040804\src\testcases\org\apache\poi\hssf\
record\TestRecordFactory.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
compile-scratchpad:
    [javac] Compiling 74 source files to C:\Program
Installs\poi-src-2.5.1-final-20040804\build\scratchpad-classes
    [javac] C:\Program
Installs\poi-src-2.5.1-final-20040804\src\scratchpad\src\org\apache\poi\
generator\FieldIterator.java:35: package org.apache.xalan.extensions
does not exist
    [javac] public void
init(org.apache.xalan.extensions.XSLProcessorContext context,
    [javac] ^
    [javac] C:\Program
Installs\poi-src-2.5.1-final-20040804\src\scratchpad\src\org\apache\poi\
generator\FieldIterator.java:36: package org.apache.xalan.templates does
not exist
    [javac] org.apache.xalan.templates.ElemExtensionCall extElem)
    [javac] ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

BUILD FAILED
C:\Program Installs\poi-src-2.5.1-final-20040804\build.xml:202: Compile
failed; see the compiler error output for details.

Total time: 8 seconds



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re[2]: problems with POI build

Posted by Yegor Kozlov <ye...@dinom.ru>.
I use JDK 1.4.2 and JDK 1.5.

To build POI users need JDK 1.4 or greater. It should be reflected it
the docs somehow.

Compilation under JDK 1.3 fails. I've just tried it and got 68 errors.

Does it concerns you?

Yegor

AO> Which JDK?

AO> Yegor Kozlov wrote:
>> Hi,
>>
>> I don't quite understand what's wrong with POI. I'm using Ant 1.6.2
>> and it works fine for me.
>>
>> POI build.xml is all-sufficient. It downloads the required jars if
>> they are missing. No intervention in Ant's config is required.
>>
>> Regards,
>> Yegor
>> LS> Has anyone tested this with a newer version of ANT other than 1.5.3?
>>
>>  
>>
>>  
>>
>> LS> ________________________________
>>
>> LS> From: Levi Strope [mailto:lstrope@besttransport.com] 
>> LS> Sent: Tuesday, March 20, 2007 11:07 AM
>> LS> To: poi-user@jakarta.apache.org
>> LS> Subject: problems with POI build
>>
>>  
>>
>> LS> I'm using ANT 1.7 and there is no optional.jars - has anyone worked
>> LS> through this before?
>>
>>  
>>
>> LS> Additionally - I did include all required .JARS per the 'How to Build'
>> LS> instructions - but I get an error telling me org.apache.xalan does not
>> LS> exist.  It doesn't exist but I did include it in %ANT_HOME%/lib so I'm
>> LS> not sure what I need to do.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>   


AO> ---------------------------------------------------------------------
AO> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
AO> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
AO> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: problems with POI build

Posted by Andrew Oliver <ac...@buni.org>.
Which JDK?

Yegor Kozlov wrote:
> Hi,
>
> I don't quite understand what's wrong with POI. I'm using Ant 1.6.2
> and it works fine for me.
>
> POI build.xml is all-sufficient. It downloads the required jars if
> they are missing. No intervention in Ant's config is required.
>
> Regards,
> Yegor
> LS> Has anyone tested this with a newer version of ANT other than 1.5.3?
>
>  
>
>  
>
> LS> ________________________________
>
> LS> From: Levi Strope [mailto:lstrope@besttransport.com] 
> LS> Sent: Tuesday, March 20, 2007 11:07 AM
> LS> To: poi-user@jakarta.apache.org
> LS> Subject: problems with POI build
>
>  
>
> LS> I'm using ANT 1.7 and there is no optional.jars - has anyone worked
> LS> through this before?
>
>  
>
> LS> Additionally - I did include all required .JARS per the 'How to Build'
> LS> instructions - but I get an error telling me org.apache.xalan does not
> LS> exist.  It doesn't exist but I did include it in %ANT_HOME%/lib so I'm
> LS> not sure what I need to do.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re[2]: problems with POI build

Posted by Yegor Kozlov <ye...@dinom.ru>.
Hi,

I don't quite understand what's wrong with POI. I'm using Ant 1.6.2
and it works fine for me.

POI build.xml is all-sufficient. It downloads the required jars if
they are missing. No intervention in Ant's config is required.

Regards,
Yegor
LS> Has anyone tested this with a newer version of ANT other than 1.5.3?

 

 

LS> ________________________________

LS> From: Levi Strope [mailto:lstrope@besttransport.com] 
LS> Sent: Tuesday, March 20, 2007 11:07 AM
LS> To: poi-user@jakarta.apache.org
LS> Subject: problems with POI build

 

LS> I'm using ANT 1.7 and there is no optional.jars - has anyone worked
LS> through this before?

 

LS> Additionally - I did include all required .JARS per the 'How to Build'
LS> instructions - but I get an error telling me org.apache.xalan does not
LS> exist.  It doesn't exist but I did include it in %ANT_HOME%/lib so I'm
LS> not sure what I need to do.


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


RE: problems with POI build

Posted by Levi Strope <ls...@besttransport.com>.
Has anyone tested this with a newer version of ANT other than 1.5.3?

 

 

________________________________

From: Levi Strope [mailto:lstrope@besttransport.com] 
Sent: Tuesday, March 20, 2007 11:07 AM
To: poi-user@jakarta.apache.org
Subject: problems with POI build

 

I'm using ANT 1.7 and there is no optional.jars - has anyone worked
through this before?

 

Additionally - I did include all required .JARS per the 'How to Build'
instructions - but I get an error telling me org.apache.xalan does not
exist.  It doesn't exist but I did include it in %ANT_HOME%/lib so I'm
not sure what I need to do.