ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kent Larsson" <Kent.Lars...@tpb.se>
Subject Sv: Re: Ant script for building Javadoc, is there a way to bundle common <link> tags?
Date Fri, 14 Mar 2008 13:53:43 GMT
> 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


Mime
View raw message