You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2020/07/21 08:01:52 UTC

[lucene-solr] branch jira/LUCENE-9438 created (now ab8a55a)

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a change to branch jira/LUCENE-9438
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git.


      at ab8a55a  Adds eclipse plugin, help files, etc. Import doesn't work because there are circular references between projects (main-test modules).

This branch includes the following new commits:

     new ab8a55a  Adds eclipse plugin, help files, etc. Import doesn't work because there are circular references between projects (main-test modules).

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[lucene-solr] 01/01: Adds eclipse plugin, help files, etc. Import doesn't work because there are circular references between projects (main-test modules).

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch jira/LUCENE-9438
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit ab8a55aa0a13e02a257b92f9de2b558b1414fd95
Author: Dawid Weiss <dw...@apache.org>
AuthorDate: Tue Jul 21 10:01:41 2020 +0200

    Adds eclipse plugin, help files, etc. Import doesn't work because there are circular references between projects (main-test modules).
---
 build.gradle              |  1 +
 gradle/help.gradle        |  1 +
 gradle/ide/eclipse.gradle | 22 ++++++++++++++++++++++
 help/eclipse.txt          |  8 ++++++++
 4 files changed, 32 insertions(+)

diff --git a/build.gradle b/build.gradle
index a38ca1f..e9e33b0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -102,6 +102,7 @@ apply from: file('gradle/maven/defaults-maven.gradle')
 
 // IDE support, settings and specials.
 apply from: file('gradle/ide/intellij-idea.gradle')
+apply from: file('gradle/ide/eclipse.gradle')
 
 // Validation tasks
 apply from: file('gradle/validation/precommit.gradle')
diff --git a/gradle/help.gradle b/gradle/help.gradle
index edee1c3..9f2fdf2 100644
--- a/gradle/help.gradle
+++ b/gradle/help.gradle
@@ -28,6 +28,7 @@ configure(rootProject) {
       ["LocalSettings", "help/localSettings.txt", "Local settings, overrides and build performance tweaks."],
       ["Git", "help/git.txt", "Git assistance and guides."],
       ["ValidateLogCalls", "help/validateLogCalls.txt", "How to use logging calls efficiently."],
+      ["Eclipse", "help/eclipse.txt", "Eclipse IDE workflow support."],
   ]
 
   helpFiles.each { section, path, sectionInfo ->
diff --git a/gradle/ide/eclipse.gradle b/gradle/ide/eclipse.gradle
new file mode 100644
index 0000000..9e05301
--- /dev/null
+++ b/gradle/ide/eclipse.gradle
@@ -0,0 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+// Adds support for Eclipse IDE workflows.
+
+allprojects {
+  apply plugin: 'eclipse'
+}
diff --git a/help/eclipse.txt b/help/eclipse.txt
new file mode 100644
index 0000000..3f4df34
--- /dev/null
+++ b/help/eclipse.txt
@@ -0,0 +1,8 @@
+Eclipse IDE workflow support
+============================
+
+Run the following:
+
+gradlew eclipse
+
+and then "Import as existing project".