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/30 22:25:14 UTC

Still having problems building POI

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: 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/