mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
canonicalize module paths when reading the data for compile server (fixes GroovyCompilerTest)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.jetbrains.jps
|
||||
|
||||
import com.intellij.openapi.util.io.FileUtil
|
||||
import org.jetbrains.jps.idea.Facet
|
||||
|
||||
/**
|
||||
@@ -58,19 +59,19 @@ class Module extends LazyInitializeableObject implements ClasspathItem {//}, Com
|
||||
}
|
||||
|
||||
meta.content = {Object[] arg ->
|
||||
arg.each { contentRoots << it.toString() }
|
||||
arg.each { contentRoots << FileUtil.toCanonicalPath(it) }
|
||||
}
|
||||
|
||||
meta.src = {Object[] arg ->
|
||||
arg.each { sourceRoots << it.toString() }
|
||||
arg.each { sourceRoots << FileUtil.toCanonicalPath(it) }
|
||||
}
|
||||
|
||||
meta.testSrc = {Object[] arg ->
|
||||
arg.each { testRoots << it.toString() }
|
||||
arg.each { testRoots << FileUtil.toCanonicalPath(it) }
|
||||
}
|
||||
|
||||
meta.exclude = {Object[] arg ->
|
||||
arg.each { excludes << it.toString() }
|
||||
arg.each { excludes << FileUtil.toCanonicalPath(it) }
|
||||
}
|
||||
|
||||
initializer.delegate = meta
|
||||
|
||||
Reference in New Issue
Block a user