Skip to content

Commit

Permalink
SOLR-16540 Fix eclipse import errors (apache#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
stillalex authored Mar 1, 2023
1 parent d5784d6 commit 5188ae0
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 62 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ out/
/dev-tools/missing-doclet/out/

# Eclipse
/.project
/.classpath
/.settings/
**/.project
**/.classpath
**/.settings/
/.metadata
# Eclipse Gradle oddity
**/bin/default/

Expand All @@ -41,4 +42,4 @@ __pycache__

# Ignore gradle wrapper
gradle/wrapper/gradle-wrapper.jar
.gradletasknamecache
.gradletasknamecache
1 change: 1 addition & 0 deletions gradle/documentation/render-javadoc.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ configure(project(":solr:test-framework")) {
"org.apache.solr",
"org.apache.solr.analysis",
"org.apache.solr.cloud",
"org.apache.solr.cloud.api.collections",
"org.apache.solr.common.cloud",
"org.apache.solr.core",
"org.apache.solr.handler",
Expand Down
2 changes: 2 additions & 0 deletions gradle/ide/eclipse.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ configure(rootProject) {
}

classpath {
downloadSources = true
downloadJavadoc = true
defaultOutputDir = file('build/eclipse')

file {
Expand Down
3 changes: 3 additions & 0 deletions gradle/validation/rat-sources.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ allprojects {
include "**/*.gradle"
exclude ".gradle/**"

// Exclude Eclipse
exclude ".metadata"

// Include selected patterns from any source folders. We could make this
// relative to source sets but it seems to be of little value - all our source sets
// live under 'src' anyway.
Expand Down
1 change: 1 addition & 0 deletions gradle/validation/validate-source-patterns.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ allprojects {
exclude '**/build/**'
exclude '**/.idea/**'
exclude '**/.gradle/**'
exclude '.metadata/**'

if (project == rootProject) {
// ourselves :-)
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.junit.rules.TestRule;
import org.mockito.Mockito;

public class SSLConfigurationsTest extends SolrTestCaseJ4 {
public class HadoopSSLConfigurationsTest extends SolrTestCaseJ4 {
private Map<String, String> envs;
private SSLConfigurations sut;

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 5188ae0

Please sign in to comment.