Javadocs are generated using a classpath with all the extras. The included
files list is now foolproof, also.
This commit is contained in:
parent
36e8959817
commit
86a729ee08
1 changed files with 14 additions and 9 deletions
23
build.xml
23
build.xml
|
@ -87,6 +87,8 @@
|
||||||
shouldn't mess with this. -->
|
shouldn't mess with this. -->
|
||||||
<property name="our.javac.classpathref" value="entire.class.path"/>
|
<property name="our.javac.classpathref" value="entire.class.path"/>
|
||||||
|
|
||||||
|
<!-- Javadoc needs to find all classes, so you have to give it a megaclasspath: -->
|
||||||
|
<property name="javadocs.class.path.ref" value="all.extras.class.path"/>
|
||||||
|
|
||||||
<!-- To easily add a jar to the CLASSPATH, just drop it into
|
<!-- To easily add a jar to the CLASSPATH, just drop it into
|
||||||
'extensions/drop-ins/'. -->
|
'extensions/drop-ins/'. -->
|
||||||
|
@ -118,6 +120,14 @@
|
||||||
|
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
||||||
|
<path id="all.extras.class.path">
|
||||||
|
<pathelement location="${j2ee.sdk.home}/j2ee.jar"/>
|
||||||
|
<pathelement location="${tomcat.servlet.jar}"/>
|
||||||
|
<path refid="entire.class.path"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
|
||||||
<target name="init">
|
<target name="init">
|
||||||
<!-- Create the time stamp -->
|
<!-- Create the time stamp -->
|
||||||
<tstamp/>
|
<tstamp/>
|
||||||
|
@ -277,10 +287,9 @@
|
||||||
depends="ttsc-init"
|
depends="ttsc-init"
|
||||||
if="found.servlet.classes"
|
if="found.servlet.classes"
|
||||||
description="compiles the servlet form of the Translation Tool if you've set the j2ee.sdk.home property correctly" >
|
description="compiles the servlet form of the Translation Tool if you've set the j2ee.sdk.home property correctly" >
|
||||||
|
<!-- For now, these two paths are identical: -->
|
||||||
<path id="ttsc.class.path">
|
<path id="ttsc.class.path">
|
||||||
<pathelement location="${j2ee.sdk.home}/j2ee.jar"/>
|
<path refid="all.extras.class.path"/>
|
||||||
<pathelement location="${tomcat.servlet.jar}"/>
|
|
||||||
<path refid="entire.class.path"/>
|
|
||||||
</path>
|
</path>
|
||||||
<antcall target="our-internal-javac-task">
|
<antcall target="our-internal-javac-task">
|
||||||
<reference torefid="ttsc.class.path" refid="ttsc.class.path"/>
|
<reference torefid="ttsc.class.path" refid="ttsc.class.path"/>
|
||||||
|
@ -703,19 +712,15 @@
|
||||||
access="${access}"
|
access="${access}"
|
||||||
version="false"
|
version="false"
|
||||||
use="true"
|
use="true"
|
||||||
classpathref="entire.class.path"
|
classpathref="${javadocs.class.path.ref}"
|
||||||
windowtitle="THDL Tools APIs"
|
windowtitle="THDL Tools APIs"
|
||||||
Overview="${source}/overview.html">
|
Overview="${source}/overview.html">
|
||||||
|
|
||||||
<fileset dir="${source}" defaultexcludes="yes">
|
<fileset dir="${source}" defaultexcludes="yes">
|
||||||
<include name="org/thdl/**" />
|
<include name="org/thdl/**/*.java" />
|
||||||
<!-- Exclude JUnit tests: -->
|
<!-- Exclude JUnit tests: -->
|
||||||
<exclude name="**/*Test.java"/>
|
<exclude name="**/*Test.java"/>
|
||||||
<exclude name="**/*AllTests.java"/>
|
<exclude name="**/*AllTests.java"/>
|
||||||
<exclude name="**/*.ini"/>
|
|
||||||
<exclude name="**/*.html"/>
|
|
||||||
<exclude name="**/*.gif"/>
|
|
||||||
<exclude name="**/*.jpg"/>
|
|
||||||
</fileset>
|
</fileset>
|
||||||
|
|
||||||
<doctitle><![CDATA[<h1>THDL Tools</h1>]]></doctitle>
|
<doctitle><![CDATA[<h1>THDL Tools</h1>]]></doctitle>
|
||||||
|
|
Loading…
Add table
Reference in a new issue