diff --git a/src/main/java/rife/bld/wrapper/Wrapper.java b/src/main/java/rife/bld/wrapper/Wrapper.java index 1ff47a9..4779312 100644 --- a/src/main/java/rife/bld/wrapper/Wrapper.java +++ b/src/main/java/rife/bld/wrapper/Wrapper.java @@ -138,8 +138,8 @@ public void upgradeVscodeSettings(File destinationDirectory, String version) if (file.exists()) { try { var content = FileUtils.readString(file); - content = BLD_JAR_PATTERN.matcher(content).replaceAll("bld-" + version + ".jar"); - content = RIFE2_JAR_PATTERN.matcher(content).replaceAll("bld-" + version + ".jar"); + content = BLD_JAR_PATTERN.matcher(content).replaceAll("/.bld/dist/bld-" + version + ".jar"); + content = RIFE2_JAR_PATTERN.matcher(content).replaceAll("/.bld/dist/bld-" + version + ".jar"); FileUtils.writeString(content, file); } catch (FileUtilsErrorException e) { throw new IOException(e); diff --git a/src/main/resources/templates/bld/rife2_hello/vscode/settings.json b/src/main/resources/templates/bld/rife2_hello/vscode/settings.json index dd9db25..17ef30a 100644 --- a/src/main/resources/templates/bld/rife2_hello/vscode/settings.json +++ b/src/main/resources/templates/bld/rife2_hello/vscode/settings.json @@ -8,6 +8,7 @@ ], "java.configuration.updateBuildConfiguration": "automatic", "java.project.referencedLibraries": [ + "${HOME}/.bld/dist/bld-{{v version/}}.jar", "lib/compile/*.jar", "lib/runtime/*.jar", "lib/standalone/*.jar",