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 pi...@apache.org on 2005/09/09 00:34:18 UTC

svn commit: r279661 - in /xmlgraphics/fop/trunk: build.xml src/java/org/apache/fop/fo/flow/Footnote.java

Author: pietsch
Date: Thu Sep  8 15:34:00 2005
New Revision: 279661

URL: http://svn.apache.org/viewcvs?rev=279661&view=rev
Log:
Require at least Java 1.4 for building the javadocs.
Add todo tag to javadoc task.
Fixed @todo: tags.

Modified:
    xmlgraphics/fop/trunk/build.xml
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Footnote.java

Modified: xmlgraphics/fop/trunk/build.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/build.xml?rev=279661&r1=279660&r2=279661&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/build.xml (original)
+++ xmlgraphics/fop/trunk/build.xml Thu Sep  8 15:34:00 2005
@@ -687,6 +687,16 @@
   <!-- Creates the API documentation                                       -->
   <!-- =================================================================== -->
   <target name="javadocs" depends="codegen" description="Generates javadocs">
+    <condition property="javadoc.version.ok">
+      <not>
+        <or>
+          <equals arg1="${ant.java.version}" arg2="1.1"/>
+          <equals arg1="${ant.java.version}" arg2="1.2"/>
+          <equals arg1="${ant.java.version}" arg2="1.3"/>
+        </or>
+      </not>
+    </condition>
+    <fail message="Building FOP javadocs requires at least Java 1.4" unless="javadoc.version.ok"/>
     <property name="javadoc.public"  value="false"/>
     <property name="javadoc.package" value="false"/>
     <property name="javadoc.private" value="false"/>
@@ -726,6 +736,7 @@
         <pathelement path="${build.gensrc.dir}"/>
         <path refid="graphics-configuration-adapter"/>
       </sourcepath>
+      <tag name="todo" scope="all" description="To do:"/>
       <group title="Control and Startup">
         <package name="org.apache.fop.apps"/>
         <package name="org.apache.fop.configuration"/>

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Footnote.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Footnote.java?rev=279661&r1=279660&r2=279661&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Footnote.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Footnote.java Thu Sep  8 15:34:00 2005
@@ -75,10 +75,10 @@
     /**
      * @see org.apache.fop.fo.FONode#validateChildNode(Locator, String, String)
      * XSL Content Model: (inline,footnote-body)
-     * @todo: implement additional constraint: An fo:footnote is not permitted
-     *      to have an fo:float, fo:footnote, or fo:marker as a descendant.
-     * @todo: implement additional constraint: An an fo:footnote is not 
-     *      permitted to have as a descendant an fo:block-container that 
+     * @todo implement additional constraint: A fo:footnote is not permitted
+     *      to have a fo:float, fo:footnote, or fo:marker as a descendant.
+     * @todo implement additional constraint: A fo:footnote is not 
+     *      permitted to have as a descendant a fo:block-container that 
      *      generates an absolutely positioned area.
      */
     protected void validateChildNode(Locator loc, String nsURI, String localName) 



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