While merging javadocs, if the module's package name has no dots the property is not set and the link is broken.
1.1 --- a/build.xml Thu Aug 26 16:51:57 2010 -0500
1.2 +++ b/build.xml Fri Aug 27 14:03:27 2010 -0500
1.3 @@ -145,9 +145,15 @@
1.4 regexp="\."
1.5 replace="-"
1.6 casesensitive="false" />
1.7 - <!--Show all loaded properties
1.8 - <echoproperties prefix="@{cur}."/>
1.9 - -->
1.10 + <!--If the package name has no dots the variable is not defined-->
1.11 + <if>
1.12 + <not>
1.13 + <isset property="@{cur}.pack.name"/>
1.14 + </not>
1.15 + <then>
1.16 + <property name="@{cur}.pack.name" value="@{cur}"/>
1.17 + </then>
1.18 + </if>
1.19 <echo file="${merged.javadoc.dir}/index.html" append="true">
1.20 @{cur}/${@{cur}.pack.name}/index.html"
1.21 </echo>