Browse Source

Require at least Java 1.4 for building the javadocs.

Add todo tag to javadoc task.
Fixed @todo: tags.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279661 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Joerg Pietschmann 19 years ago
parent
commit
0e16dba76b
2 changed files with 15 additions and 4 deletions
  1. 11
    0
      build.xml
  2. 4
    4
      src/java/org/apache/fop/fo/flow/Footnote.java

+ 11
- 0
build.xml View File

@@ -687,6 +687,16 @@ list of possible build targets.
<!-- 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 @@ list of possible build targets.
<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"/>

+ 4
- 4
src/java/org/apache/fop/fo/flow/Footnote.java View File

@@ -75,10 +75,10 @@ public class Footnote extends FObj {
/**
* @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)

Loading…
Cancel
Save