blob: 4afacf136d9c9bacba5fa14397fd1466aa87be33 [file] [log] [blame]
<!--
Copyright (c) 2011 Mia-Software.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Nicolas BROS (Mia-Software)
Gregoire DUPE (Mia-Software)
-->
<project name="Build documentation" default="all">
<taskdef classpath="bin" name="generateApiJavadoc" classname="org.eclipse.modisco.doc.internal.GenerateApiJavadocTask"/>
<target name="build.javadoc">
<delete includeemptydirs="true">
<fileset dir="./javadoc" includes="**/*" />
</delete>
<available file="../org.eclipse.gmt.modisco.infra.common.core" type="dir" property="plugins.path" value="../"/>
<!-- with the sourceTree containing plugins, doc, etc. subdirs -->
<available file="../../plugins/" type="dir" property="plugins.path" value="../../plugins/"/>
<echo>javadoc generation from plug-ins in "${plugins.path}"</echo>
<generateApiJavadoc sourceTreePath="${plugins.path}"
access="public" author="true" destdir="./javadoc"
splitindex="true" doctitle="MoDisco Javadoc" use="true" version="true"
pattern="^org\.eclipse(\.gmt)?\.modisco\..*$">
<tag name="generated"/>
<tag name="model"/>
<tag name="ordered"/>
<!-- executable="C:/Program Files/Java/jdk1.6.0_24/bin/javadoc.exe" -->
</generateApiJavadoc>
</target>
<target name="all" depends="build.javadoc"/>
</project>