git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-715 - prevent empty elements being generated
[jalview.git]
/
build.xml
diff --git
a/build.xml
b/build.xml
index
5b1066f
..
7d63c56
100755
(executable)
--- a/
build.xml
+++ b/
build.xml
@@
-151,6
+151,8
@@
</fileset>
<pathelement location="appletlib/${jmolJar}" />
</path>
</fileset>
<pathelement location="appletlib/${jmolJar}" />
</path>
+ <!-- default location for outputting javadoc -->
+ <property name="javadocDir" value="${packageDir}/javadoc"/>
</target>
</target>
@@
-171,7
+173,7
@@
<target name="clean" depends="init">
<!-- not efficient yet. -->
<target name="clean" depends="init">
<!-- not efficient yet. -->
- <delete dir="${outputDir}" />
+ <delete dir="${outputDir}" includes="*,**/*"/>
</target>
<target name="distclean" depends="init, clean">
</target>
<target name="distclean" depends="init, clean">
@@
-571,6
+573,8
@@
<copy todir="${packageDir}/examples">
<fileset dir="examples">
<include name="**/*"/>
<copy todir="${packageDir}/examples">
<fileset dir="examples">
<include name="**/*"/>
+ <include name="javascript/*"/>
+ <include name="jmol/*"/>
</fileset>
<fileset dir=".">
<include name="jalviewApplet.jar"/>
</fileset>
<fileset dir=".">
<include name="jalviewApplet.jar"/>
@@
-581,4
+585,11
@@
</copy>
</target>
</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>
</project>