Ramkumar Aiyengar created LUCENE-6598:
-----------------------------------------
Summary: `ant documentation-lint` fails on a checkout with spaces
in it
Key: LUCENE-6598
URL: https://issues.apache.org/jira/browse/LUCENE-6598
Project: Lucene - Core
Issue Type: Bug
Reporter: Ramkumar Aiyengar
Priority: Minor
I haven't yet been able to figure out the cause here, but looks like
documentation-lint (and hence precommit) fails on a checkout with spaces in it..
Lots of errors due to checkJavadocLinks.py
{code}
...
[exec]
file:///home/ramkrithi/projects/lucene-solr/tr%20unk/solr/build/docs/solr-core/org/apache/solr/search/facet/SumAgg.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
[exec] BROKEN LINK:
file:///home/ramkrithi/projects/lucene-solr/tr%2520unk/lucene/build/docs/queries/org/apache/lucene/queries/function/ValueSource.html
...
{code}
The complaint is actually valid, notice the double escape in the URLs. This
seems to affect Solr documentation-lint (Lucene passes) because this problem
seems to occur only with the links Javadoc considers "external" (links from
Solr to Lucene) and hence puts the full path. Lucene links all have relative
paths which don't have this issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]