javadoc built under dist directory for all Jalview source (JAL-858)
authorjprocter <jprocter@compbio.dundee.ac.uk>
Sun, 3 Jul 2011 11:56:11 +0000 (12:56 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Sun, 3 Jul 2011 11:56:11 +0000 (12:56 +0100)
build.xml

index 5b1066f..faa953d 100755 (executable)
--- a/build.xml
+++ b/build.xml
                        </fileset>
                        <pathelement location="appletlib/${jmolJar}" />
                </path>
+    <!-- default location for outputting javadoc -->
+    <property name="javadocDir" value="${packageDir}/javadoc"/>
        </target>
 
 
 
        <target name="clean" depends="init">
                <!-- not efficient yet. -->
-               <delete dir="${outputDir}" />
+               <delete dir="${outputDir}" includes="*,**/*"/>
        </target>
 
        <target name="distclean" depends="init, clean">
          </copy>
                        
        </target>
+       <target name="sourcedoc" description="Create jalview source documentation pages" depends="init">
+        <javadoc destdir="${javadocDir}">
+               <packageset dir="${sourceDir}" includes="jalview/*,MCView/*">
+               </packageset>
+               </javadoc>
+       </target>
+       
 </project>