Hi,
Am 27.12.2012 11:47, schrieb Thomas Fischer:
Hello,
Am 26.12.2012 13:28, schrieb Thomas Fischer:
Hello,
I must say I'm pretty new to using maven. I failed to compile PDFBox after a
checkout, ending up with
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
on project pdfbox: Compilation failure
[ERROR]
/SVN/PDFbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDSimpleFont.java:[525,52]
cannot find symbol
[ERROR] symbol : method getSpaceMapping()
[ERROR] location: class org.apache.fontbox.cmap.CMap
I don't have any idea how to solve this, can anybody help me?
Did you checkout the whole project using [1], including all subprojects?
I actually deleted my trunk directory and checked out a new one from
http://svn.apache.org/repos/asf
I checked out the trunk branch, using svnX and again using Cornerstone.
Start with something like this:
svn checkout http://svn.apache.org/repos/asf/pdfbox/trunk pdfbox-trunk
In which directory did you call maven? You have to do it in the main directory.
Originally I called maven from inside the trunk directory, afterwards again
from inside the trunk/pdfbox directory.
Both with identical results. I assume the trunk directory is the one you refer to as
"main directory"?
cd pdfbox-trunk
mvn install
Post the maven console output if this still doesn't work.
I'm using a MacBook with Mac OS X 10.6.8.
Best
Thomas
BR
Andreas Lehmkühler
[1] http://svn.apache.org/repos/asf/pdfbox/trunk
Best
Thomas
BR
Andreas Lehmkühler