src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java
--- a/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java Tue Jul 02 12:03:49 2019 -0400
+++ b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WindowsAppImageBuilder.java Wed Jul 03 17:36:06 2019 -0400
@@ -74,7 +74,6 @@
private final Path root;
private final Path appDir;
private final Path appModsDir;
- private final String relativeModsDir;
private final Path runtimeDir;
private final Path mdir;
private final Path binDir;
@@ -125,7 +124,6 @@
this.root = imageOutDir.resolve(APP_NAME.fetchFrom(params));
this.appDir = root.resolve("app");
this.appModsDir = appDir.resolve("mods");
- this.relativeModsDir = "app/mods";
this.runtimeDir = root.resolve("runtime");
this.mdir = runtimeDir.resolve("lib");
this.binDir = root.resolve("bin");
@@ -143,7 +141,6 @@
this.root = imageOutDir.resolve(jreName);
this.appDir = null;
this.appModsDir = null;
- this.relativeModsDir = null;
this.runtimeDir = root;
this.mdir = runtimeDir.resolve("lib");
this.binDir = null;
@@ -200,11 +197,6 @@
}
@Override
- public String getRelativeModsDir() {
- return relativeModsDir;
- }
-
- @Override
public void prepareApplicationFiles() throws IOException {
Map<String, ? super Object> originalParams = new HashMap<>(params);
@@ -322,7 +314,7 @@
StandardCopyOption.REPLACE_EXISTING);
writeCfgFile(params, root.resolve(
- getLauncherCfgName(params)).toFile(), "$APPDIR\\runtime");
+ getLauncherCfgName(params)).toFile());
prepareExecutableProperties(params);