Author: pierre
Date: Thu Feb 23 06:49:09 2017
New Revision: 18398

Log:
Fix javadoc in fop

Modified:
   trunk/BOOK/pst/ps/fop.xml

Modified: trunk/BOOK/pst/ps/fop.xml
==============================================================================
--- trunk/BOOK/pst/ps/fop.xml   Thu Feb 23 04:13:28 2017        (r18397)
+++ trunk/BOOK/pst/ps/fop.xml   Thu Feb 23 06:49:09 2017        (r18398)
@@ -204,7 +204,9 @@
         disabled. This can be done with the following command:
       </para>
 
-<screen><userinput>sed -i '\@&lt;/javad@i&lt;arg value="-Xdoclint:none"/&gt;' 
build.xml</userinput></screen>
+<screen><userinput>sed -i '\@&lt;/javad@i\
+&lt;arg value="-Xdoclint:none"/&gt;\
+&lt;arg value="--allow-script-in-comments"/&gt;' build.xml</userinput></screen>
 
       <para>
         Then, compile <application>fop</application> by running the
@@ -252,8 +254,21 @@
     <title>Command Explanations</title>
 
     <para>
+      <command>sed -i ... build.xml</command>: This adds two switches to the
+      <command>javadoc</command> command, preventing some errors to occur when
+      building the documentation.
+    </para>
+
+    <para>
+      <command>patch -Np1 -i ../fop-2.1-listNPE-1.patch</command>: This patch
+      fixes a bug leading to segmentation faults when processing some inputs.
+    </para>
+
+    <para>
       <command>ant <option>target</option></command>: This reads the file
-      <filename>build.xml</filename> and builds the target files.
+      <filename>build.xml</filename> and builds the target: <option>compile
+      </option> compiles the java sources, <option>jar-main</option> generates
+      jar archives, and <option>javadocs</option> builds the documentation.
     </para>
 
     <para>
@@ -347,7 +362,7 @@
           FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, ALL, or OFF.
           To do this, edit
           <filename>$JAVA_HOME/jre/lib/logging.properties</filename> and change
-          the entries for <option>.leval</option> and
+          the entries for <option>.level</option> and
           <option>java.util.logging.ConsoleHandler.level</option> to
           the desired value.
         </para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to