aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorJoerg Pietschmann <pietsch@apache.org>2005-09-08 22:34:00 +0000
committerJoerg Pietschmann <pietsch@apache.org>2005-09-08 22:34:00 +0000
commit0e16dba76bfb5984a99a0a6db4b0650bdfea0b29 (patch)
tree255f1129bca97357775a867e5b6c43c180d9920c /build.xml
parent4d77beff3195315d899d138db2fd5e592e41c9be (diff)
downloadxmlgraphics-fop-0e16dba76bfb5984a99a0a6db4b0650bdfea0b29.tar.gz
xmlgraphics-fop-0e16dba76bfb5984a99a0a6db4b0650bdfea0b29.zip
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
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 62db04921..975da1127 100644
--- a/build.xml
+++ b/build.xml
@@ -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"/>