Skip to content

Commit 5602686

Browse files
kdvoldercbeams
authored andcommitted
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.
1 parent aad2183 commit 5602686

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,8 @@ project('spring-aspects') {
445445
}
446446
eclipse.project {
447447
natures += 'org.eclipse.ajdt.ui.ajnature'
448-
buildCommand 'org.eclipse.ajdt.core.ajbuilder'
448+
buildCommands = [new org.gradle.plugins.ide.eclipse.model.
449+
BuildCommand('org.eclipse.ajdt.core.ajbuilder')]
449450
}
450451
}
451452

import-into-eclipse.sh

-4
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,5 @@ STEP 5: Enable Git support for all projects
116116
117117
When complete, you'll hvae have Git support enabled for all projects.
118118
119-
Note: if any projects have errors after adding Git support
120-
(e.g. spring-aspects), simply go to Project > Clean... and clean that
121-
project. This should remove any errors.
122-
123119
You're ready to code! Goodbye!
124120
EOM

0 commit comments

Comments
 (0)