Skip to content

Commit 6246da0

Browse files
committed
Update Eclipse setup files
Update the eclipse setup files and contributing instructions for compatibility with the latest Eclipse 2019-03 release. This commit reverts the use the HTTPS in the `.setup` file namespace (since it breaks the setup editor). The `xsi:schemaLocation` section still uses HTTPS for actual XSD resolution. See gh-16245
1 parent d1c9651 commit 6246da0

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

CONTRIBUTING.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ provision a new environment. To use the installer:
170170
* Select "`Eclipse IDE for Java Developers`" under "`Eclipse.org`" as the product to
171171
install and click "`next`".
172172
* For the "`Project`" click on "`+`" to add a new setup file. Select "`Github Projects`"
173-
and browser for `<checkout>/eclipse/spring-boot-project.setup` from your locally cloned
173+
and browse for `<checkout>/eclipse/spring-boot-project.setup` from your locally cloned
174174
copy of the source code. Click "`OK`" to add the setup file to the list.
175175
* Double-click on "`Spring Boot`" from the project list to add it to the list that will
176176
be provisioned then click "`Next`".
@@ -183,12 +183,20 @@ Once complete you should find that a local workspace has been provisioned comple
183183
all required Eclipse plugins. Projects will be grouped into working-sets to make the code
184184
easier to navigate.
185185

186+
If you want to work on the `spring-boot-gradle-plugin` you should remove the imported Maven
187+
project and reimport it as a Gradle project.
188+
189+
TIP: If you see import errors with `com.sun` packages make sure you have setup a valid
190+
`JavaSE-1.8` environment. From preferences select "`Java`", "`Installed JREs`",
191+
"`Execution Environments`" and make sure "`JavaSE-1.8`" points to a Java 1.8
192+
install (we use AdoptOpenJDK on our CI).
193+
186194

187195

188196
==== Manual Installation with M2Eclipse
189197
If you prefer to install Eclipse yourself you should use the
190198
https://eclipse.org/m2e/[M2Eclipse] eclipse plugin. If you don't already have m2eclipse
191-
installed it is available from the "Eclipse marketplace".
199+
installed it is available from the "`Eclipse marketplace`".
192200

193201
Spring Boot includes project specific source formatting settings, in order to have these
194202
work with m2eclipse, we provide an additional Eclipse plugin that you can install:

eclipse/eclipse.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
copyright-year=2012-2019

eclipse/spring-boot-project.setup

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<setup:Project
33
xmi:version="2.0"
4-
xmlns:xmi="https://www.omg.org/XMI"
4+
xmlns:xmi="http://www.omg.org/XMI"
55
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
66
xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
77
xmlns:maven="http://www.eclipse.org/oomph/setup/maven/1.0"
88
xmlns:predicates="http://www.eclipse.org/oomph/predicates/1.0"
9-
xmlns:setup="https://www.eclipse.org/oomph/setup/1.0"
10-
xmlns:setup.p2="https://www.eclipse.org/oomph/setup/p2/1.0"
9+
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
10+
xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0"
1111
xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
1212
xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
13-
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/maven/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Maven.ecore http://www.eclipse.org/oomph/predicates/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
13+
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/oomph/setup/maven/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Maven.ecore http://www.eclipse.org/oomph/predicates/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
1414
name="spring.boot.1.5.x"
1515
label="Spring Boot 1.5.x">
1616
<setupTask

0 commit comments

Comments
 (0)