ports/146223: port textproc/fop: NoClassDefFoundError: org/apache/fop/fonts/apps/TTFReader
Jose Garcia Juanino
jjuanino at gmail.com
Thu May 6 21:30:04 UTC 2010
The following reply was made to PR ports/146223; it has been noted by GNATS.
From: Jose Garcia Juanino <jjuanino at gmail.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/146223: port textproc/fop: NoClassDefFoundError:
org/apache/fop/fonts/apps/TTFReader
Date: Thu, 6 May 2010 22:57:20 +0200
El domingo 02 de mayo a las 00:10:59 CEST, Edwin Groothuis escribió:
> Maintainer of textproc/fop,
>
> Please note that PR ports/146223 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146223
It works as expected, that example is wrong.
Please, try the following:
FOP_BASE="/usr/local/share/java/fop"
CLASSPATH="$FOP_BASE/build/fop.jar"
CLASSPATH="$CLASSPATH:$FOP_BASE/lib/avalon-framework-4.2.0.jar"
CLASSPATH="$CLASSPATH:$FOP_BASE/lib/commons-logging-1.0.4.jar"
CLASSPATH="$CLASSPATH:$FOP_BASE/lib/commons-io-1.3.1.jar"
CLASSPATH="$CLASSPATH:$FOP_BASE/lib/xmlgraphics-commons-1.3.1.jar"
export CLASSPATH
java org.apache.fop.fonts.apps.TTFReader \
/usr/local/lib/X11/fonts/bitstream-vera/VeraMono.ttf output
and you will get:
Parsing font...
Reading /usr/local/lib/X11/fonts/bitstream-vera/VeraMono.ttf...
Font Family: [Bitstream Vera Sans Mono]
Creating xml font file...
Creating CID encoded metrics...
Writing xml font file output.xml.xml...
This font contains no embedding license restrictions.
XML font metrics file successfully created.
Please, could anyone close this PR?
Best regards
More information about the freebsd-ports-bugs
mailing list