Remove javabuilder from spring-aspects .project

Previously, the build script was configured to add ajbuilder to the set
of Eclipse/STS build commands, meaning that both javabuilder and
ajbuilder would be present for spring-aspects. This causes unpredictable
behavior, as these two builders compete with each other. As ajbuilder is
a functional superset of javabuilder, this commit ensures that only the
former is present for spring-aspects' .project file.

Also removed warning language in import-into-eclipse.sh about
spring-aspects failing after adding Git support, as this intermittent
problem was almost certainly an artifact of the situation described
above.
This commit is contained in:
Kris De Volder 2012-02-01 16:06:16 -08:00 committed by Chris Beams
parent aad21830bb
commit 56026863e8
2 changed files with 2 additions and 5 deletions

View File

@ -445,7 +445,8 @@ project('spring-aspects') {
}
eclipse.project {
natures += 'org.eclipse.ajdt.ui.ajnature'
buildCommand 'org.eclipse.ajdt.core.ajbuilder'
buildCommands = [new org.gradle.plugins.ide.eclipse.model.
BuildCommand('org.eclipse.ajdt.core.ajbuilder')]
}
}

View File

@ -116,9 +116,5 @@ STEP 5: Enable Git support for all projects
When complete, you'll hvae have Git support enabled for all projects.
Note: if any projects have errors after adding Git support
(e.g. spring-aspects), simply go to Project > Clean... and clean that
project. This should remove any errors.
You're ready to code! Goodbye!
EOM