diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 606d23a282..591ed6a324 100755 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -170,7 +170,7 @@ provision a new environment. To use the installer: * Select "`Eclipse IDE for Java Developers`" under "`Eclipse.org`" as the product to install and click "`next`". * For the "`Project`" click on "`+`" to add a new setup file. Select "`Github Projects`" - and browser for `/eclipse/spring-boot-project.setup` from your locally cloned + and browse for `/eclipse/spring-boot-project.setup` from your locally cloned copy of the source code. Click "`OK`" to add the setup file to the list. * Double-click on "`Spring Boot`" from the project list to add it to the list that will be provisioned then click "`Next`". @@ -183,12 +183,20 @@ Once complete you should find that a local workspace has been provisioned comple all required Eclipse plugins. Projects will be grouped into working-sets to make the code easier to navigate. +If you want to work on the `spring-boot-gradle-plugin` you should remove the imported Maven +project and reimport it as a Gradle project. + +TIP: If you see import errors with `com.sun` packages make sure you have setup a valid +`JavaSE-1.8` environment. From preferences select "`Java`", "`Installed JREs`", +"`Execution Environments`" and make sure "`JavaSE-1.8`" points to a Java 1.8 +install (we use AdoptOpenJDK on our CI). + ==== Manual Installation with M2Eclipse If you prefer to install Eclipse yourself you should use the https://eclipse.org/m2e/[M2Eclipse] eclipse plugin. If you don't already have m2eclipse -installed it is available from the "Eclipse marketplace". +installed it is available from the "`Eclipse marketplace`". Spring Boot includes project specific source formatting settings, in order to have these work with m2eclipse, we provide an additional Eclipse plugin that you can install: diff --git a/eclipse/eclipse.properties b/eclipse/eclipse.properties new file mode 100644 index 0000000000..f068bdc51e --- /dev/null +++ b/eclipse/eclipse.properties @@ -0,0 +1 @@ +copyright-year=2012-2019 diff --git a/eclipse/spring-boot-project.setup b/eclipse/spring-boot-project.setup index e733b3646c..4a2f42ad6b 100644 --- a/eclipse/spring-boot-project.setup +++ b/eclipse/spring-boot-project.setup @@ -1,16 +1,16 @@