yDoc ant target and maven plugin config

yDoc (http://www.yworks.com/en/products_ydoc.htm) is a JavaDoc doclet that adds wonderful, clickable UML diagrams to your JavaDoc.

I have been pestering these guys for a few years for an open source license which they gave me today.

As part payback I thought I would document my configuration of yDoc in my javadoc ant target and my maven pom.xml plugin config. The yDoc guys do not provide either and it can be fiddly to get going.

Ant Target

<!– Produce the javadocs. Includes the JDK1.5 version of yDoc. There is also a 1.4 version but it is different. –>
description=”Creates the javadocs”>

<mkdir dir=”${build.javadoc.dir}”/>
<doclet name=”ydoc.doclets.YStandard”
<param name=”-umlautogen” />

<tag name=”noinspection” description=”IntelliJ Inspection Ignore tag” enabled=”false”/>
<classpath refid=”project.class.path”/>
<header><![CDATA[<a href=”/” target=”_top”>${name}</a>]]></header>

Maven reporting plugin config

<!– javadoc –>
<header><![CDATA[<a href=”/” target=”_top”>ehcache</a>]]></header>
<windowtitle>${project.name} ${project.version} API</windowtitle>
<tag name=”noinspection” description=”IntelliJ Inspection Ignore tag” enabled=”false”/>

You can see the results of this configuration in ehcache’s online JavaDoc.

Explorer Destroyer

Whenever a nasty IE bug comes out I always fantasize about putting that up on my blog. The problem with acting on that desire is that it is probably unlawful here in Australia and in many other jurisdictions. Plus you are potentially harming someone. So I don’t do it.

Over the years I have gotten very annoyed when sites block browsers other than IE running on Windows. It has made me want to block IE back. When I saw Explorer Destroyer I thought “why not?” So if you are reading this you are not using IE.

I tested the page using IE 5.2 for Mac. It works. And it does not harm.

If you want to help create an IE dark web, go to http://www.explorerdestroyer.com/.