You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kent Larsson <Ke...@tpb.se> on 2008/03/14 14:53:43 UTC

Sv: Re: Ant script for building Javadoc, is there a way to bundle common tags?

> In the meantime, you should use <presetdef>
>
> <presetdef name="myjavadoc">
> <javadoc
> encoding="UTF-8"
> charset="UTF-8"
> access="private">
> <!-- This part is very common : Start -->
> <link offline="true" href="http://java.sun.com/j2se/1.5.0/docs/api/"
packagelistLoc="javadoc/j2se-1.5.0"/>
> <link offline="true" href="http://java.sun.com/javaee/5/docs/api/"
packagelistLoc="javadoc/javaee-5"/>
> <link href="http://lab.ourserver.com/javadoc/common/"/>
> <link href="http://lab.ourserver.com/javadoc/dist/"/>
> <link href="http://lab.ourserver.com/javadoc/ejb/"/>
> <link href="http://lab.ourserver.com/javadoc/web/"/>
> <link href="http://lab.ourserver.com/javadoc/downloadClient/"/>
> <!-- This part is very common : End -->
> </javadoc>
> </presetdef>
> 
> <myjavadoc
> destdir="${javadoc.dir}/common"
> classpathref="path.combined"
> windowtitle="SOM Common API Doc">
> <fileset dir="${somCommon.dir}/src">
>    <include name="**/*.java"/>
> </fileset>
> </myjavadoc>
>
> Peter

Thank you! That worked out really well! I'll be watching out for your
macro on this list. :-) Have a nice weekend.

Best regards,
Kent Larsson

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org