summaryrefslogtreecommitdiffstats
path: root/all/build.xml
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2014-03-10 13:42:17 +0200
committerVaadin Code Review <review@vaadin.com>2014-03-10 12:39:07 +0000
commitc0e408c325a8b5465bfad4526a16a473928c17f4 (patch)
tree0990882d2d7809925de2e955de6aa15859474461 /all/build.xml
parentc121c4e5ad72ab0705552ad8c614f179fc214a41 (diff)
downloadvaadin-framework-c0e408c325a8b5465bfad4526a16a473928c17f4.tar.gz
vaadin-framework-c0e408c325a8b5465bfad4526a16a473928c17f4.zip
Added nojavadoc parameter to "all" build script.
Change-Id: Id83983e7fd81612354c6b15037a6749ba3dda55a
Diffstat (limited to 'all/build.xml')
-rw-r--r--all/build.xml64
1 files changed, 35 insertions, 29 deletions
diff --git a/all/build.xml b/all/build.xml
index 36a9499dea..0d6f48fc32 100644
--- a/all/build.xml
+++ b/all/build.xml
@@ -35,35 +35,41 @@
</target>
<target name="javadoc" depends="copy-jars">
- <!-- Ensure filtered webcontent files are available -->
- <antcall target="common.filter.webcontent" />
-
- <!-- Unpack all source files to javadoc.temp.dir -->
- <antcontrib:foreach list="${modules.to.publish.to.maven}" target="unzip.to.javadoctemp" param="module" />
-
- <property name="javadoc.dir" location="${result.dir}/javadoc" />
- <property name="title" value="Vaadin ${vaadin.version} API" />
- <javadoc maxmemory="1024m" destdir="${javadoc.dir}" author="true" version="true" use="true" windowtitle="${title}" encoding="utf-8"
- stylesheetfile="javadoc.css">
- <packageset dir="${javadoc.temp.dir}">
- <!-- TODO Javadoc throws ClassCastException if this is included
- (#9660) -->
- <exclude name="com/google/gwt/uibinder/elementparsers" />
- </packageset>
- <doctitle>&lt;h1>${title}&lt;/h1></doctitle>
- <!-- <header><![CDATA[<script type="text/javascript" src=".html-style/style.js"></script>]]></header> -->
- <bottom>${javadoc.bottom}</bottom>
- <link offline="true" href="http://docs.oracle.com/javase/6/docs/api/" packagelistLoc="build/javadoc/j2se-1.6.0" />
- <link offline="true" href="http://java.sun.com/j2ee/1.4/docs/api/" packagelistLoc="build/javadoc/j2ee-1.4" />
- <classpath refid="classpath.javadoc" />
- </javadoc>
-
- <!-- Create a javadoc jar -->
- <jar file="${javadoc.jar}" compress="true">
- <fileset dir="${javadoc.dir}" />
- <fileset refid="common.files.for.all.jars" />
- </jar>
-
+ <!-- Ensure filtered webcontent files are available -->
+ <antcall target="common.filter.webcontent" />
+
+ <property name="javadoc.dir" location="${result.dir}/javadoc" />
+
+ <antcontrib:if>
+ <isset property="nojavadoc" />
+ <then />
+ <else>
+ <!-- Unpack all source files to javadoc.temp.dir -->
+ <antcontrib:foreach list="${modules.to.publish.to.maven}" target="unzip.to.javadoctemp" param="module" />
+
+ <property name="javadoc.dir" location="${result.dir}/javadoc" />
+ <property name="title" value="Vaadin ${vaadin.version} API" />
+ <javadoc maxmemory="1024m" destdir="${javadoc.dir}" author="true" version="true"
+ use="true" windowtitle="${title}" encoding="utf-8" stylesheetfile="javadoc.css">
+ <packageset dir="${javadoc.temp.dir}">
+ <!-- TODO Javadoc throws ClassCastException if this is included
+ (#9660) -->
+ <exclude name="com/google/gwt/uibinder/elementparsers" />
+ </packageset>
+ <doctitle>&lt;h1>${title}&lt;/h1></doctitle>
+ <!-- <header><![CDATA[<script type="text/javascript" src=".html-style/style.js"></script>]]></header> -->
+ <bottom>${javadoc.bottom}</bottom>
+ <link offline="true" href="http://docs.oracle.com/javase/6/docs/api/" packagelistLoc="build/javadoc/j2se-1.6.0" />
+ <link offline="true" href="http://java.sun.com/j2ee/1.4/docs/api/" packagelistLoc="build/javadoc/j2ee-1.4" />
+ <classpath refid="classpath.javadoc" />
+ </javadoc>
+ </else>
+ </antcontrib:if>
+ <!-- Create a javadoc jar -->
+ <jar file="${javadoc.jar}" compress="true">
+ <fileset dir="${javadoc.dir}" />
+ <fileset refid="common.files.for.all.jars" />
+ </jar>
</target>