Ben
Clay Leeds wrote:
On 5/23/2003 9:03 AM, Chris Bowditch wrote:
The change you refer to, allows the fop batch file to be run when your current directory is not c:\fop-0.20.5rc3a. The change does not mean your operating system can find the batch file, regardless of your current directory.
Thanks for the clarification, Chris. (BTW, when I ran the two commands, it was understood to me that it would cause an error, but I thought the error would be the same as running FOP without arguments--you know, the USAGE/help stuff plus "[ERROR] No input file specified").
C:\>fop 'fop' is not recognized as an internal or external command, operable program or batch file.
C:\>fop.bat 'fop.bat' is not recognized as an internal or external command, operable program or batch file.
=-=-=-
As for the 'new' functionality: It's a good thing I didn't know I wasn't able to do that for the last few months. Otherwise I wouldn't've been able to run fop from anywhere on Windows NT, 2k, XP, Linux, AIX & Mac OS X. In fact, here's example output of running fop-0.20.4 from anywhere under Windows XP:
C:\>c:\java\fop-0.20.4\fop.bat -d -xml c:\xml_med7\biglinux\test_NYNF_1.3.2.XML -xsl c:\xml_med7\fo\xml_med7_NYNF.fo -awt
C:\>java -cp c:\java\fop-0.20.4\build\fop.jar;c:\java\fop-0.20.4\lib\batik.jar;c:\java\fop-0.20.4\lib\xalan-2.3.1.jar;c:\java\fop-0.20.4\lib\xercesImpl-2.0.1.jar;c:\java\fop-0.20.4\lib\xml-apis.jar;c:\java\fop-0.20.4\lib\avalon-framework-cvs-20020315.jar;c:\java\fop-0.20.4\lib\logkit-1.0.jar;c:\java\fop-0.20.4\lib\jimi-1.0.jar org.apache.fop.apps.Fop -d -xml c:\xml_med7\biglinux\test_NYNF_1.3.2.XML -xsl c:\xml_med7\fo\xml_med7_NYNF.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: c:\xml_med7\biglinux\test_NYNF_1.3.2.XML
[DEBUG] xslt stylesheet: c:\xml_med7\fo\xml_med7_NYNF.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[DEBUG] base directory: file:/c:/xml_med7/biglinux/
[ERROR] Logger not set
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[DEBUG] setting up fonts
[INFO] [1]
[WARNING] Sum of fixed column widths 416691 greater than maximum specified IPD 415524
[WARNING] Sum of fixed column widths 566929 greater than maximum specified IPD 340157
[INFO] [2]
[INFO] [3]
[DEBUG] area contents overflows area
[DEBUG] area contents overflows area
[DEBUG] area contents overflows area
[INFO] Parsing of document complete, stopping renderer
C:\>
(pay no attention to the column-width stuff!! I think my slip is showing ;-p)
I guess I don't understand what was added. Oh well, it works! (FWIW, I just tested fop-0.20.5rc3a and it can run from anywhere too--even from another drive!).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
