Enable m2e-apt by default

Also a small bugfix related to enabling spring-boot validation builder
on new projects.

Both of these contribute to make a smoother experience working with
JDT APT.

See: https://github.com/spring-projects/sts4/issues/822
This commit is contained in:
Kris De Volder
2022-09-14 15:46:12 -07:00
parent ed9c0cde56
commit 92c6a1698f
5 changed files with 63 additions and 7 deletions

View File

@@ -109,7 +109,7 @@ public class BootValidationEnabler implements org.eclipse.ui.IStartup {
@Override
public void earlyStartup() {
//Don't do this stuff actually during startup. Its not critical and it can wait.
new ValidationEnablerStartupJob().schedule(Duration.ofMinutes(1).toMillis());
new ValidationEnablerStartupJob().schedule(Duration.ofSeconds(10).toMillis());
}
}