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

Shawn Heisey commented on SOLR-16540:
-------------------------------------

Based on what I found with Google, I did this modification as it looked the 
most promising:
{code:none}
diff --git a/gradle/ide/eclipse.gradle b/gradle/ide/eclipse.gradle
index 3721c3184aa..1c1b626048b 100644
--- a/gradle/ide/eclipse.gradle
+++ b/gradle/ide/eclipse.gradle
@@ -31,6 +31,8 @@ configure(rootProject) {
     }
 
     classpath {
+      downloadSources = true
+      downloadJavadoc = true
       defaultOutputDir = file('build/eclipse')
 
       file {
{code}
Then I deleted the project from eclipse, ran "./gradlew clean cleanEclipse 
eclipse" again, and re-imported into eclipse. It didn't work.

> Fix errors importing main and branch_9x into eclipse
> ----------------------------------------------------
>
>                 Key: SOLR-16540
>                 URL: https://issues.apache.org/jira/browse/SOLR-16540
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Build
>    Affects Versions: main (10.0), 9.2
>            Reporter: Shawn Heisey
>            Assignee: Shawn Heisey
>            Priority: Minor
>         Attachments: SOLR-16540.patch
>
>
> When creating an eclipse project using the eclipse gradle target, the 
> resulting project has errors.  One is because there is a duplicate class 
> name, the others are having package-info.java in the test code tree in 
> addition to the main code tree for the same package.
> The patch I will attach fixes the errors.  There are thousands of warnings, 
> something for another issue.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to