Skip to content

Commit 56ad0cf

Browse files
committed
Polish Eclipse import script
1 parent f2c37fc commit 56ad0cf

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

import-into-eclipse.sh

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ cat <<EOM
4242
STEP 1: Generate subproject Eclipse metadata
4343
4444
The first step will be to generate Eclipse project metadata for each of
45-
the spring-* subprojects. This happens via the built-in "Gradle
46-
wrapper" script (./gradlew in this directory). If this is your first
47-
time using the Gradle wrapper, this step may take a few minutes while a
48-
Gradle distribution is downloaded for you.
45+
the spring-* subprojects. This happens via the built-in "Gradle wrapper"
46+
script (./gradlew in this directory). If this is your first time using
47+
the Gradle wrapper, this step may take a few minutes while a Gradle
48+
distribution is downloaded for you.
4949
5050
The command run will be:
5151
@@ -65,11 +65,11 @@ STEP 2: Import subprojects into Eclipse/STS
6565
6666
Within Eclipse/STS, do the following:
6767
68-
File > Import... > Existing Projects into Workspace
69-
> When prompted for the 'root directory', provide $PWD
70-
> Press enter. You will see the modules show up under "Projects"
71-
> All projects should be selected/checked. Click Finish.
72-
> When the project import is complete, you should have no errors.
68+
- File > Import... > Existing Projects into Workspace
69+
- When prompted for the 'root directory', provide $PWD.
70+
- Press enter. You will see the modules show up under "Projects".
71+
- All projects should be selected/checked. Click Finish.
72+
- When the project import is complete, you should have no errors.
7373
7474
When the above is complete, return here and press the enter key.
7575
EOM
@@ -81,12 +81,12 @@ COMMAND="./gradlew :eclipse"
8181
cat <<EOM
8282
8383
------------------------------------------------------------------------
84-
STEP 3: generate root project Eclipse metadata
84+
STEP 3: Generate root project Eclipse metadata
8585
86-
Unfortunately, Eclipse does not allow for importing project
87-
hierarchies, so we had to skip root project metadata generation during
88-
step 1. In this step we simply generate root project metadata so you
89-
can import it in the next step.
86+
Unfortunately, Eclipse does not support importing project hierarchies,
87+
so we had to skip root project metadata generation during step 1. In
88+
this step we simply generate root project metadata so that you can
89+
import it in the next step.
9090
9191
The command run will be:
9292
@@ -117,9 +117,9 @@ STEP 5: Enable Git support for all projects
117117
118118
- In the Eclipse/STS Package Explorer, select all spring* projects.
119119
- Right-click to open the context menu and select Team > Share Project...
120-
- In the Share Project dialog that appears, select Git and press Next
121-
- Check "Use or create repository in parent folder of project"
122-
- Click Finish
120+
- In the Share Project dialog that appears, select Git and press Next.
121+
- Check "Use or create repository in parent folder of project".
122+
- Click Finish.
123123
124124
When complete, you'll have Git support enabled for all projects.
125125

0 commit comments

Comments
 (0)