Roger,

We discussed this in the original design. This is a JDK-specific taglet, for use in the JDK-build, for building JDK API-specifications, that may or may not link to some commercial documentation.

There is no intent to support {@extLink} for anything outside its limited use in the JDK API documentation. The whole mechanism of using a query URL like this, and the set of names
that is defined, is highly specific to this one usage.

Given this limited usage, is it really helpful to generalize it so that we move the base URL from
one place in the JDK build infrastructure to another?

We seem to be in a bikeshed.

-- Jon

On 05/11/2017 02:07 PM, Roger Riggs wrote:
Hi,

I would generalize it just a bit by taking the URL from the system property; if the property was set it would use the URL and if not generate the citation. Then the taglet could be used a bit more broadly without complicating the build or code.

$.02, Roger


On 5/11/2017 4:51 PM, Kumar Srinivasan wrote:
Hi,

Changes in this webrev:
* inverted the logic as you suggested
* some doc comment changes to reflect the change

http://cr.openjdk.java.net/~ksrini/8179915/webrev.1/

Thanks
Kumar

On 5/10/2017 7:19 PM, David Holmes wrote:
On 11/05/2017 3:18 AM, Kumar Srinivasan wrote:

On 5/10/2017 9:51 AM, Erik Joelsson wrote:
Should this be set on the javadoc command line somewhere or am I
missing something?

Yes, one would have to set this prop, via the build system, when
performing a non-oracle build.

Shouldn't that be inverted then - given there is only 1 Oracle build and potentially innumerable non-Oracle builds? The default should be to not link unless the property is set.

Thanks,
David

Kumar


/Erik


On 2017-05-10 09:42, Kumar Srinivasan wrote:
Hi,

Please review fix for the custom taglet to allow openjdk builds, in
which case
the property "build.tools.taglet.ExtLink.NO_LINK" must be set to
inhibit server
side lookups.

Thanks
Kumar

Webrev: http://cr.openjdk.java.net/~ksrini/8179915/webrev.0
JBS: https://bugs.openjdk.java.net/browse/JDK-8179915





Reply via email to