summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 7ebd1177c0..001a038aa3 100644
--- a/build.xml
+++ b/build.xml
@@ -608,10 +608,18 @@
#####################################################################
-->
- <target name="docs" description="Generates all documentation." unless="skip.doc">
+ <target name="docs" description="Generates all documentation."
+ depends="version.init" unless="skip.doc">
<echo level="verbose">oslib.jar=${oslib.jar}</echo>
<echo level="verbose">oslib.src=${oslib.src}</echo>
<echo level="verbose">ostools.jar=${ostools.jar}</echo>
+ <fail message="Required classes for OSC are missing; check the 'oslib.jar','ostools.jar' properties in 'build.${user.name}.properties'.">
+ <condition><not><and>
+ <available classname="scala.List" classpathref="osc.classpath"/>
+ <available classname="scala.runtime.RunTime" classpathref="osc.classpath"/>
+ <available classname="scala.tools.scaladoc.Main" classpathref="osc.classpath"/>
+ </and></not></condition>
+ </fail>
<fileset id="oslib.src.files" dir="${sources.dir}">
<include name="scala/**/*.scala"/>
<exclude name="scala/tools/**"/>