[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    setting up environment
From:       "John Saylor" <jsaylor () liaison-intl ! com>
Date:       2007-03-30 14:41:27
Message-ID: 788CE35B4DF22443A7AA542796706AB5011AC5B4 () liex2 ! liaison-intl ! com
[Download RAW message or body]

hi

i'm just trying to run fop on my linux box. i'm using fop-0.93 [from
svn] and sun's jdk 1.6u1.

i compiled it from source and i think it went well.

i was trying to use /etc/fop.conf to set the base path so it would find
what it needs to run and instead i get this:

1024 $ fop
/etc/fop.conf: line 1: syntax error near unexpected token `newline'
/etc/fop.conf: line 1: `<?xml version="1.0"?>'
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/fop/cli/Main


wtf!!!


here are the top 10 lines of that file ...
1026 $ head /etc/fop.conf
<?xml version="1.0"?>
<fop version="1.0">

  <!-- Base URL for resolving relative URLs -->
  <base>/usr/local/src/fop-0.93</base>

  <!-- Source resolution in dpi (dots/pixels per inch) for determining
the size of pixels in SVG and bitmap images, default: 72dpi -->
  <source-resolution>72</source-resolution>
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying
the target resolution for generated bitmaps, default: 72dpi -->
  <target-resolution>72</target-resolution>


it's mostly straight outta the distribution. i just deleted a bunch the
comments at the top as a first [kinda lame] attempt at fixing the
problem.

any help or suggestions welcome.

--
\js 

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic