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 {
66
66
67
67
// process classpath
68
68
if (classpath != null ) {
69
- classpaths = Arrays .asList (classpath .split ("; " ));
69
+ classpaths = Arrays .asList (classpath .split ("[;:] " ));
70
70
if (!isUseResourcesAsWorkingDir ()) {
71
71
classpaths = classpaths .stream ().map (cp -> new File (cp ).isAbsolute () ? cp : "%EXEDIR%/" + cp ).collect (Collectors .toList ());
72
72
}
Original file line number Diff line number Diff line change 1
1
mainclass= $info.mainClass
2
- classpath= $info.jarName
2
+ #set ( $ classpath = $info.jarFile.name )
3
3
#foreach ($cp in $info.classpaths )
4
- classpath= ;$ ! { cp }
4
+ #set ( $ classpath = $classpath + ";" + $cp )
5
5
#end
6
+ classpath= ${classpath }
6
7
#if ($info.bundleJre )
7
8
jvm_path= ${info . jreDirectoryName }
8
9
#end
You can’t perform that action at this time.
0 commit comments