File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
java/io/github/fvarrui/javapackager/packagers Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public File doCreateApp() throws Exception {
6666
6767 // process classpath
6868 if (classpath != null ) {
69- classpaths = Arrays .asList (classpath .split ("; " ));
69+ classpaths = Arrays .asList (classpath .split ("[;:] " ));
7070 if (!isUseResourcesAsWorkingDir ()) {
7171 classpaths = classpaths .stream ().map (cp -> new File (cp ).isAbsolute () ? cp : "%EXEDIR%/" + cp ).collect (Collectors .toList ());
7272 }
Original file line number Diff line number Diff line change 11mainclass= $info.mainClass
2- classpath= $info.jarName
2+ #set ( $ classpath = $info.jarFile.name )
33#foreach ($cp in $info.classpaths )
4- classpath= ;$ ! { cp }
4+ #set ( $ classpath = $classpath + ";" + $cp )
55#end
6+ classpath= ${classpath }
67#if ($info.bundleJre )
78jvm_path= ${info . jreDirectoryName }
89#end
You can’t perform that action at this time.
0 commit comments