Skip to content

Commit

Permalink
fix: idea.log caused unnecessary task invalidation
Browse files Browse the repository at this point in the history
The log file created by MPS was written into the working directory which
is considered an input for the runMPS task.
The path of the log directory is now outside the working directory.
  • Loading branch information
slisson committed Jul 24, 2024
1 parent 21534ec commit 403b1ae
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,13 +185,14 @@ class MPSRunner(
setAttribute("name", "build.dir")
setAttribute("location", getBuildDir().absolutePath)
}
val mpsTmpDir = getBuildDir().parentFile.resolve(getBuildDir().name + "_tmp")
newChild("property") {
setAttribute("name", "build.mps.config.path")
setAttribute("location", getBuildDir().resolve("config").absolutePath)
setAttribute("location", mpsTmpDir.resolve("config").absolutePath)
}
newChild("property") {
setAttribute("name", "build.mps.system.path")
setAttribute("location", getBuildDir().resolve("system").absolutePath)
setAttribute("location", mpsTmpDir.resolve("system").absolutePath)
}
newChild("property") {
setAttribute("name", "mps.home")
Expand Down

0 comments on commit 403b1ae

Please sign in to comment.