JAL-919, JAL-715 - prototype service editing dialog using jalview parameter model...
[jalview.git] / build.xml
index 5b1066f..7d63c56 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 todir="${packageDir}/examples">
          <fileset dir="examples">
                <include name="**/*"/>
+               <include name="javascript/*"/>
+      <include name="jmol/*"/>
          </fileset>
                <fileset dir=".">
                <include name="jalviewApplet.jar"/>
          </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>