You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by vm...@apache.org on 2002/12/10 21:18:43 UTC

cvs commit: xml-fop/src/documentation/content/xdocs running.xml

vmote       2002/12/10 12:18:42

  Modified:    src/documentation/content/xdocs running.xml
  Log:
  Add "Installation" section. Add comments specific to Mac OSX file truncation
  issue and $JAVA_HOME issue.
  
  Revision  Changes    Path
  1.3       +31 -25    xml-fop/src/documentation/content/xdocs/running.xml
  
  Index: running.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/documentation/content/xdocs/running.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- running.xml	19 Nov 2002 07:57:27 -0000	1.2
  +++ running.xml	10 Dec 2002 20:18:42 -0000	1.3
  @@ -3,35 +3,41 @@
       "http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-forrest/src/resources/schema/dtd/document-v11.dtd">
   
   <document>
  -    <header>
  -        <title>Running FOP</title>
  -    </header>
  -
  -    <body>
  -<section>
  +<header>
     <title>Running FOP</title>
  +</header>
  +
  +<body>
     <section>
  -    <title>Prerequisites</title>
  -    <p>Following software must be installed:</p>
  -    <p>a) Java 1.2.x or later</p>
  -    <p>b) All libraries you need are part of the Fop distribution and
  -          can be found in the xml-fop/lib directory. Look at the batch/shell script fop.bat/fop.sh
  -          to see, how Fop can be invoked easily. These libraries are included:
  -    </p>
  -          <ul>
  -            <li>An XML parser which supports SAX and DOM like
  -                <jump href="http://xml.apache.org/xerces-j/index.html">Xerces-J</jump>.
  -                (Xerces is the default xml parser)
  -            </li>
  -            <li>An XSLT processor (Xalan is included)
  -            </li>
  -            <li>The SVG library batik.jar is the library from the <jump href="http://xml.apache.org/batik/">batik project</jump> at xml.apache.org.
  -            </li>
  -          </ul>
  +    <title>Installation</title>
  +    <section>
  +      <title>Overview</title>
  +      <p>The following software must be installed:</p>
  +      <ul>
  +        <li>Java 1.2.x or later.</li>
  +        <li>FOP. The <jump href="http://xml.apache.org/fop/download.html">FOP distribution</jump> includes all libraries that you will need to run a basic FOP installation. These can be found in the xml-fop/lib directory. These libraries include the following:</li>
  +        <ul>
  +          <li>Apache <jump href="http://xml.apache.org/xerces-j/index.html">Xerces-J</jump> for XML parsing. You can use other XML parsers which support SAX and DOM.</li>
  +          <li>Apache Xalan, an XSLT processor.</li>
  +          <li>Apache <jump href="http://xml.apache.org/batik/">Batik</jump>, an SVG library.</li>
  +        </ul>
  +        <li>Optional Libraries</li>
  +      </ul>
  +    </section>
  +    <section>
  +      <title>Instructions</title>
  +      <p>Basic FOP installation consists of first unzipping the <code>.gz</code> file that is the distribution medium, then unarchiving the resulting <code>.tar</code> file in a directory/folder that is convenient on your system. Please consult your operating system documentation or Zip application software documentation for instructions specific to your site.</p>
  +    </section>
  +    <section>
  +      <title>Problems</title>
  +      <p>Some Mac OSX users have experienced filename truncation problems using Stuffit to unzip and unarchive their distribution media. This is a legacy of older Mac operating systems, which had a 31-character pathname limit. Several Mac OSX users have recommended that Mac OSX users use the shell command <code>tar -xzf</code> instead.</p>
  +    </section>
     </section>
   
     <section>
  -    <title>Starting FOP as an standalone application</title>
  +    <title>Starting FOP as a standalone application</title>
  +    <p>Review the batch file fop.bat or the shell script fop.sh to see how FOP is invoked.</p>
  +    <p>The standard scripts for starting FOP require that the environment variable JAVA_HOME be set to a path pointing to the appropriate Java installation on your system. Macintosh OSX includes a Java environment as part of its distribution. We are told by Mac OSX users that the path to use in this case is <code>/Library/Java/Home</code>. <strong>Caveat: </strong>We suspect that, as Apple releases new Java environments and as FOP upgrades the minimum Java requirements, the two will inevitably not match on some systems. Please see <jump href="http://developer.apple.com/java/faq">Java on Mac OSX FAQ</jump> for information as it becomes available.</p>
       <p><code>Fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-pcl|-txt|-svg|-at|-print] &lt;outfile></code></p>
        <p>[OPTIONS]</p>
        <source>
  @@ -72,6 +78,6 @@
       <title>Problems</title>
       <p>If you have problems running FOP, please have a look at the <jump href="gethelp.html">"How to get Help" page</jump>.</p>
     </section>
  -</section>
  +
   </body>
   </document>
  
  
  

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