Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2010 21:30:03 GMT
From:      Jose Garcia Juanino <jjuanino@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/146223: port textproc/fop: NoClassDefFoundError: org/apache/fop/fonts/apps/TTFReader
Message-ID:  <201005062130.o46LU3bd047595@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/146223; it has been noted by GNATS.

From: Jose Garcia Juanino <jjuanino@gmail.com>
To: bug-followup@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005062130.o46LU3bd047595>