You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by Orion Poplawski <or...@cora.nwra.com> on 2010/07/01 23:24:41 UTC

Trouble compiling pdfbox-1.2.0

I'm trying to package up pdfbox-1.2.0 for fedora but getting the following:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/builddir/build/BUILD/pdfbox-1.2.0/fontbox/src/test/java/org/apache/fontbox/cff/Type1CharStringTest.java:[19,23] 

package org.junit does not exist
/builddir/build/BUILD/pdfbox-1.2.0/fontbox/src/test/java/org/apache/fontbox/cff/Type1CharStringTest.java:[19,0] 

static import only from classes and interfaces

Scratch build is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2288228

No idea why, help would be greatly appreciated.

openjdk 1.6.0

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

Re: Trouble compiling pdfbox-1.2.0

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,

Orion Poplawski schrieb:
> I'm trying to package up pdfbox-1.2.0 for fedora but getting the following:
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> /builddir/build/BUILD/pdfbox-1.2.0/fontbox/src/test/java/org/apache/fontbox/cff/Type1CharStringTest.java:[19,23] 
> 
> package org.junit does not exist
> /builddir/build/BUILD/pdfbox-1.2.0/fontbox/src/test/java/org/apache/fontbox/cff/Type1CharStringTest.java:[19,0] 
> 
> static import only from classes and interfaces
> 
> Scratch build is here:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2288228
> 
> No idea why, help would be greatly appreciated.
Sounds like a missing junit.jar or a wrong version of junit. Unfortunately 
pdfbox and jempbox use 3.8.2 and fontbox uses 4.4.

BR
Andreas Lehmkühler