Hi Steve, here is a patch for my proposed support for -linkoffline. Since I noticed lately a problem with attachments on this list, I post the contents here. My solution is to use linkoffline always and provide for both URLs the same value by default. This should work, but I cannot verify this. Therefore my patch currently covers only avalon-meta. Please give feedback. If anything works I will send patches for the other modules, too.
New file avalon-sandbox/default.properties: ============= default.properties ============= # ------------------------------------------------------------------- # B U I L D P R O P E R T I E S # ------------------------------------------------------------------- # Specifies default property values # Overridden by <project>/default.properties and all ant.properties # Not user-editable; use ant.properties files instead # javadoc links doc.root = file://./../../.. j2se.api.link = http://java.sun.com/j2se/1.4/docs/api/ j2se.api.link.offline = ${j2se.api.link} j2ee.api.link = http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ j2ee.api.link.offline = ${j2ee.api.link} avalon.api.link = ${doc.root}/avalon/docs/api avalon.api.link.offline = ${avalon.api.link} ============================================== Patch for avalon-sandbox/meta: ============= cvs diff ============= Index: ant.properties.sample =================================================================== RCS file: /home/cvspublic/avalon-sandbox/meta/ant.properties.sample,v retrieving revision 1.3 diff -c -r1.3 ant.properties.sample *** ant.properties.sample 13 Feb 2003 16:46:52 -0000 1.3 --- ant.properties.sample 14 Feb 2003 12:57:13 -0000 *************** *** 37,39 **** --- 37,44 ---- #excalibur-configuration.home=${excalibur.home}/configuration #excalibur-configuration.lib=${excalibur-configuration.home}/build/lib #excalibur-configuration.jar=${excalibur-configuration.lib}/excalibur-configuration-1.0.jar + + # javadoc links + #j2se.api.link.offline=C:/j2sdk1.4.1/docs/api + #j2ee.api.link.offline=C:/j2sdkee1.3.1/doc/api + Index: build.xml =================================================================== RCS file: /home/cvspublic/avalon-sandbox/meta/build.xml,v retrieving revision 1.10 diff -c -r1.10 build.xml *** build.xml 14 Feb 2003 05:38:41 -0000 1.10 --- build.xml 14 Feb 2003 12:57:13 -0000 *************** *** 159,170 **** <param name="-version"/> <param name="-doctitle" value="${Name}"/> <param name="-windowtitle" value="${Name} API"/> - <param name="-link" value="${j2se.api.link}"/> - <param name="-link" value="${j2ee.api.link}"/> - <param name="-link" value="${avalon.api.link}"/> <param name="-bottom" value=""Copyright © ${year} Apache Avalon Project. All Rights Reserved.""/> </doclet> </javadoc> </target> --- 159,170 ---- <param name="-version"/> <param name="-doctitle" value="${Name}"/> <param name="-windowtitle" value="${Name} API"/> <param name="-bottom" value=""Copyright © ${year} Apache Avalon Project. All Rights Reserved.""/> </doclet> + <link href="${j2se.api.link}" offline="true" +packagelistLoc="${j2se.api.link.offline}"/> + <link href="${j2ee.api.link}" offline="true" +packagelistLoc="${j2ee.api.link.offline}"/> + <link href="${avalon.api.link}" offline="true" +packagelistLoc="${avalon.api.link.offline}"/> </javadoc> </target> Index: default.properties =================================================================== RCS file: /home/cvspublic/avalon-sandbox/meta/default.properties,v retrieving revision 1.10 diff -c -r1.10 default.properties *** default.properties 14 Feb 2003 05:23:49 -0000 1.10 --- default.properties 14 Feb 2003 12:57:13 -0000 *************** *** 98,106 **** checkstyle-cache = ${build.dir}/checkstyle.cache - # javadoc links - doc.root = ../../../../.. - j2se.api.link = http://java.sun.com/j2se/1.4/docs/api/ - j2ee.api.link = http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ - avalon.api.link = ${doc.root}/avalon/docs/api - --- 98,100 ---- Regards, J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
