Skip to content

Commit

Permalink
epam#979 | Fixed code generation: classpath separator adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
yurybich committed Jan 30, 2024
1 parent 6c4d981 commit fd860de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class ProjectBeforeCompilerTask : CompileTask {
cleanDirectory(context, pathToBeDeleted)

val classpath = setOf(
coreModuleRoot.resolve("lib").toString() + File.separator + "*",
coreModuleRoot.resolve("lib").toString() + "/*",
bootstrapDirectory.resolve(HybrisConstants.BIN_DIRECTORY).resolve("ybootstrap.jar").toString()
)
val gcl = GeneralCommandLine()
Expand All @@ -120,7 +120,7 @@ class ProjectBeforeCompilerTask : CompileTask {
.withParameters(
"-Dfile.encoding=UTF-8",
"-cp",
classpath.joinToString(":"),
classpath.joinToString(File.pathSeparator),
HybrisConstants.CLASS_FQN_CODE_GENERATOR,
platformModuleRoot.toString()
)
Expand Down

0 comments on commit fd860de

Please sign in to comment.