[ 
https://issues.apache.org/jira/browse/LUCENE-10327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dawid Weiss updated LUCENE-10327:
---------------------------------
    Description: 
{code}
gradlew -p lucene/core compileJava -Pruntime.java.home=...
cat lucene/core/build/tmp/compileJava/java-compiler-args.txt 
...
-sourcepath
""
...
{code}

We have to get rid of sourcepath here. I don't know how. Looks like a gradle 
bug - it would work with gradle's "module support" enabled because I see 
switches in the code that set the sourcepath correctly but doesn't work 
otherwise.

  was:
{code}
gradlew -p lucene/core compileJava -Pruntime.java.home=...
{code}


> gradle emits an empty sourcepath for forked javac and breaks compilation
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-10327
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10327
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Priority: Blocker
>
> {code}
> gradlew -p lucene/core compileJava -Pruntime.java.home=...
> cat lucene/core/build/tmp/compileJava/java-compiler-args.txt 
> ...
> -sourcepath
> ""
> ...
> {code}
> We have to get rid of sourcepath here. I don't know how. Looks like a gradle 
> bug - it would work with gradle's "module support" enabled because I see 
> switches in the code that set the sourcepath correctly but doesn't work 
> otherwise.



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

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

Reply via email to