[ 
https://issues.apache.org/jira/browse/LUCENE-9201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038656#comment-17038656
 ] 

Dawid Weiss commented on LUCENE-9201:
-------------------------------------

Hi [~tomoko] I think you were onto something because the patch had a subtle 
problem (that is one of the most frustrating in gradle). The sourceSet 
evaluated in the ecj script had folders that were later adjusted in the ant 
back-compat script. In effect, the inputs for ecj were always empty (pointing 
at convention-based layout src/main/java etc.).

 

I corrected this, added inputs/ outputs and the remaining arguments for ECJ. 
Seems to be working for me now but I'd appreciate a second look (and some 
regression experiments against ant version).

 

There are also some odd warnings printed about Class-Path attribute invalid in 
one of Solr dependencies... I'm going to just ignore this for now.

> Port documentation-lint task to Gradle build
> --------------------------------------------
>
>                 Key: LUCENE-9201
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9201
>             Project: Lucene - Core
>          Issue Type: Sub-task
>    Affects Versions: master (9.0)
>            Reporter: Tomoko Uchida
>            Assignee: Tomoko Uchida
>            Priority: Major
>         Attachments: LUCENE-9201-ecj-2.patch, LUCENE-9201-ecj.patch, 
> javadocGRADLE.png, javadocHTML4.png, javadocHTML5.png
>
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> Ant build's "documentation-lint" target consists of those two sub targets.
>  * "-ecj-javadoc-lint" (Javadoc linting by ECJ)
>  * "-documentation-lint"(Missing javadocs / broken links check by python 
> scripts)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to