Update eclipse setting and instructions

Refine project specific eclipse settings and update the
instructions with details of how they can be applied.
This commit is contained in:
Phillip Webb 2018-06-25 17:50:21 -07:00
parent 8aa6e5bfea
commit 9477915dbf
3 changed files with 12 additions and 3 deletions

View File

@ -91,6 +91,14 @@ task cleanEclipseJdtUi(type: Delete) {
delete project.file(".settings/org.eclipse.wst.common.project.facet.core.xml")
}
task eclipseBuildship(type: Copy) {
from rootProject.files(
"src/eclipse/org.eclipse.jdt.ui.prefs",
"src/eclipse/org.eclipse.jdt.core.prefs")
into project.file('.settings/')
outputs.upToDateWhen { false }
}
tasks["eclipseJdt"].dependsOn(eclipseJdtPrepare)
tasks["cleanEclipse"].dependsOn(cleanEclipseJdtUi)
tasks["eclipse"].dependsOn(eclipseSettings, eclipseWstComponent)

View File

@ -25,7 +25,8 @@ _Within your locally cloned `spring-framework` working directory:_
4. In the `spring-oxm` project, add the two folders (`castor` and `jaxb`) in
`build/generated-sources` to the build path (right click on them and select
`Build Path -> Use as Source Folder`)
5. Code away!
5. To apply project specific settings run `./gradlew eclipseBuildship`
7. Code away
## Known Issues

File diff suppressed because one or more lines are too long