mirror of
https://github.com/torproject/metrics-base.git
synced 2024-11-26 19:00:25 +00:00
Make ant docs
work with excluded sources.
Turns out that Javadoc needs to know about other classes even if we exclude their sources. The reason for excluding sources is that we don't want to include their documentation in the generated documentation. We can fix this by including compiled classes while still excluding their sources.
This commit is contained in:
parent
b5e1a2d7b2
commit
92e78eda6a
@ -156,7 +156,7 @@
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="docs" depends="gitrev" >
|
||||
<target name="docs" depends="gitrev, compile" >
|
||||
<tstamp>
|
||||
<format property="copyyear"
|
||||
pattern="yyyy"
|
||||
@ -174,7 +174,10 @@
|
||||
overview="${basedir}/${resources}/overview.html"
|
||||
use="true"
|
||||
windowtitle="${javadoc-title}">
|
||||
<classpath refid="classpath"/>
|
||||
<classpath>
|
||||
<path refid="classpath"/>
|
||||
<pathelement location="${classes}"/>
|
||||
</classpath>
|
||||
<fileset dir="${sources}" excludes="${javadoc-excludes}"/>
|
||||
</javadoc>
|
||||
<copy file="${javadocicon}" todir="${docs}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user