if the input dir has a subdir with spaces in the subdir name such as :
input/
input/jar1.jar
input/sub dir
input/sub dir/jar2.jar
the classpath element written to the config file will be wrong:
app.classpath=jar1.jar;sub;dir/jar2.jar
and the app will not run.
the resources are copied properly to the output dir but the classpath is wrong.
There is no similar problem when the input dir itself has spaces in it.
There may be similar problem if the jar name itself has spaces in it.
input/
input/jar1.jar
input/sub dir
input/sub dir/jar2.jar
the classpath element written to the config file will be wrong:
app.classpath=jar1.jar;sub;dir/jar2.jar
and the app will not run.
the resources are copied properly to the output dir but the classpath is wrong.
There is no similar problem when the input dir itself has spaces in it.
There may be similar problem if the jar name itself has spaces in it.
- relates to
-
JDK-8223334 Additional cleanup in jpackage tool
-
- Resolved
-