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

Dawid Weiss commented on LUCENE-10308:
--------------------------------------

I made it all work... only to discover ecj must have a bug parsing the 
module-path somewhere. It currently shows this:
{code}
> Task :lucene:memory:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :lucene:luke:ecjLintMain FAILED
----------
1. ERROR in C:\Work\apache\lucene\main\lucene\luke\src\java\module-info.java 
(at line 28)
        requires org.apache.logging.log4j;
                 ^^^^^^^^^^^^^^^^^^^^^^^^
org.apache.logging.log4j cannot be resolved to a module
----------
1 problem (1 error)
{code}

but the module path passed to ecj is fine (run with --info to gradle) and javac 
compilation also works.


> Make ecj and javadoc run with modular paths
> -------------------------------------------
>
>                 Key: LUCENE-10308
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10308
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to