Bug#426476: fop-ttfreader needs commons-logging.jar and commons-io.jar on classpath

2007-05-29 Thread Arnaud Vandyck

On 5/29/07, Michalis Kamburelis [EMAIL PROTECTED] wrote:

fop-ttfreader script needs commons-logging.jar and commons-io.jar
in CLASSPATH, just like the fop script for FOP 0.93. Otherwise I
get errors like below.


Hi Michalis,

Thanks for your bug, can you try the attached fop-ttfreeader.sh script?

Many thanks,

--
Arnaud Vandyck


fop-ttfreader.sh
Description: Bourne shell script


Bug#426476: fop-ttfreader needs commons-logging.jar and commons-io.jar on classpath

2007-05-29 Thread Michalis Kamburelis
Arnaud Vandyck wrote:
[...]
 
 Thanks for your bug, can you try the attached fop-ttfreeader.sh script?
 

There's a problem in attached script --- $LOCALCLASSPATH will have all
dirs glued without any separator, so the script will fail to find any
fop-related class.

I added

  pathSepChar=:

on line 33, and then your script works fine.

Cheers,
Michalis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#426476: fop-ttfreader needs commons-logging.jar and commons-io.jar on classpath

2007-05-29 Thread Arnaud Vandyck

On 5/29/07, Michalis Kamburelis [EMAIL PROTECTED] wrote:
[...]

I added
  pathSepChar=:
on line 33, and then your script works fine.


Yep! I forgot that! ;-) I patch and upload, thanks for your bug report.

--
Arnaud Vandyck


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#426476: fop-ttfreader needs commons-logging.jar and commons-io.jar on classpath

2007-05-28 Thread Michalis Kamburelis
Package: fop
Version: 1:0.93.dfsg.1-1
Severity: normal


fop-ttfreader script needs commons-logging.jar and commons-io.jar in CLASSPATH, 
just like the fop script for FOP 0.93. Otherwise I get errors like below.

(missing commons-logging.jar:)

  $ fop-ttfreader /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf 
dejavusans-bold.xml
  Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/commons/logging/LogFactory
  at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:116)

(after adding commons-logging.jar, still missing commons-io.jar)

  $ fop-ttfreader /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf 
dejavusans-bold.xml
  TTF Reader for Apache FOP 0.93

  Parsing font...
  Reading /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf...
  Exception in thread main java.lang.NoClassDefFoundError: 
org/apache/commons/io/IOUtils
  at 
org.apache.fop.fonts.truetype.FontFileReader.init(FontFileReader.java:45)
  at 
org.apache.fop.fonts.truetype.FontFileReader.init(FontFileReader.java:60)
  at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:205)
  at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:161)

After adding
  :$JAVASH/commons-logging.jar:$JAVASH/commons-io.jar
inside export CLASSPATH=... line, everything works fine.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages fop depends on:
ii  gij-4.1 [java2-ru 4.1.1-20   The GNU Java bytecode interpreter
ii  java-gcj-compat-d 1.0.65-10  Java runtime environment with GCJ
ii  libavalon-framewo 4.2.0-3Common framework for Java server a
ii  libbatik-java 1.6-3  xml.apache.org SVG Library
ii  libbsf-java   1:2.3.0+cvs20050308a-2 Bean Scripting Framework to suppor
ii  libcommons-io-jav 1.3.1.dfsg.1-1 Common useful IO related classes
ii  libcommons-loggin 1.0.4-5commmon wrapper interface for seve
ii  libxalan2-java2.7.0-4XSL Transformations (XSLT) process
ii  libxerces2-java   2.8.1-2Validating XML parser for Java wit
ii  libxmlgraphics-co 1.1.dfsg.2-1   reusable components used by Batik 
ii  libxp61:1.0.0.xsf1-1 X Printing Extension (Xprint) clie
ii  libxt61:1.0.5-2  X11 toolkit intrinsics library
ii  libxtst6  1:1.0.1-5  X11 Testing -- Resource extension 
ii  sun-java6-jre [ja 6-00-2 Sun Java(TM) Runtime Environment (

fop recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]