Browse Source

Update eclipse setting and instructions

Refine project specific eclipse settings and update the
instructions with details of how they can be applied.
pull/1887/head
Phillip Webb 8 years ago
parent
commit
9477915dbf
  1. 8
      gradle/ide.gradle
  2. 3
      import-into-eclipse.md
  3. 4
      src/eclipse/org.eclipse.jdt.ui.prefs

8
gradle/ide.gradle

@ -91,6 +91,14 @@ task cleanEclipseJdtUi(type: Delete) { @@ -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)

3
import-into-eclipse.md

@ -25,7 +25,8 @@ _Within your locally cloned `spring-framework` working directory:_ @@ -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

4
src/eclipse/org.eclipse.jdt.ui.prefs

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save