[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL-List Digest V4 #61

Subject: Re: XSL-List Digest V4 #61
From: Matthew Braun <mbraun@xxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Jan 2002 19:33:08 CST
matthew braun
>yan bai <bytj@xxxxxxxxx> writes:

>While I am running FOP on my windows beautifully, I wonder how to
>install it onto a unix server (I am new to unix).  I use gunzip/tar
>to decompress the Fop-0.20.3rc-bin.tar.gz onto the Solaris server.  I
>run the command like this as I did under windows: fop -xml
>source_data.xml -xsl trans.xsl -pdf result.pdf
>The error message said "fop: not found".

You want to execute the shell script "fop.sh", not fop.  You can either
rename it to be fop ("mv fop.sh fop") or create a link to it 
("ln -s fop.sh fop").

You will also need to either:

1) give an absolute path to the fop script, i.e. invoke it like this:
     /path/to/Fop-0.20.3rc/fop -xml source_data.xml -xsl trans.xsl -pdf
2) make sure that the directory containing the fop script is in your PATH
like so:

(If you'r using one of /bin/sh, /bin/ksh, or /bin/bash:)
	  export PATH
or C-shell
	  setenv PATH $PATH:/path/to/Fop-0.20.3rc

Then you should be able to simply say:
     fop -xml source_data.xml -xsl trans.xsl -pdf

fop.sh may also require that you set other environment variables, such
as JAVA_HOME, which should point to your java installation, and FOP_HOME,
which should point to /path/to/Fop-0.20.3rc.  However, I wouldn't set these
unless the script tells you that it can't find java or fop.


+-mbraun@xxxxxxxxxxxxxxxxxxx+- I was chasin' a ghost pale and white-----------+
|   Matt Braun -- Motorola, |    and hard to see;  The boys in blue from      |
|  Urbana, IL Design Centre |  Peculiar School are hangin' out in the dark    |
+Cellular Subscriber Sector-+--- and they're lookin' for me. ------------[SR]-+

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.