Skip to content

Commit

Permalink
vscode related fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Oct 3, 2023
1 parent 7face79 commit 5519ff3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/rife/bld/wrapper/Wrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5519ff3

Please sign in to comment.