On 4/12/06, Rick Hillegas (JIRA) <[email protected]> wrote:
> [ http://issues.apache.org/jira/browse/DERBY-1079?page=all ]
>
> Rick Hillegas reassigned DERBY-1079:
> ------------------------------------
>
> Assign To: Rick Hillegas
Thought about this the other day. One way to go would be to add an
executable attribute to the publishedapi's <javadoc> task, and
parameterize the includesfile part. Then, create a new includesfile
that contains the jdk16 classes, and then have a couple of new
targets:
<target="publishedapi" depends="publishedapi.jdk14,publishedapi.jdk16"/>
<target="publishedapi.jdk14">
<antcall target="do.publishedapi" unless="jdk16">
<param name="publishedapi.executable" value="${java.home}/bin/javadoc"/>
<param name="publishedapi.includesfile"
value="${javadoctools.dir}/publishedapi.ant"/>
</antcall>
</target>
<target="publishedapi.jdk16" if="jdk16">
<antcall target="do.publishedapi" unless="jdk16">
<param name="publishedapi.executable" value="${jdk16}/bin/javadoc"/>
<param name="publishedapi.includesfile"
value="${javadoctools.dir}/publishedapi16.ant"/>
</antcall>
</target>
<target name="do.publishedapi">
... old target, paramterized, goes here ...
</target>
andrew