Docker App in bootdash without actuator -> no automatic live hover

See: https://github.com/spring-projects/sts4/issues/716
This commit is contained in:
Kris De Volder
2022-07-26 15:50:16 -07:00
parent 35f4cc8292
commit 392d953bd9
32 changed files with 308 additions and 188 deletions

View File

@@ -88,6 +88,15 @@ public class BootPropertyTester extends PropertyTester {
return false;
}
public static boolean isActuatorJar(IClasspathEntry e) {
if (e.getEntryKind()==IClasspathEntry.CPE_LIBRARY) {
IPath path = e.getPath();
String name = path.lastSegment();
return name.endsWith(".jar") && name.startsWith("spring-boot-actuator-");
}
return false;
}
public static boolean hasDevtools(IProject p) {
try {