mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts redesign: corrected computation of relative artifact paths
This commit is contained in:
@@ -199,7 +199,7 @@ class BuildContextImpl extends BuildContext {
|
||||
void notifyArtifactBuilt(String artifactPath) {
|
||||
if (!underTeamCity) return
|
||||
|
||||
if (!FileUtil.startsWith(artifactPath, paths.projectHome)) {
|
||||
if (!FileUtil.startsWith(FileUtil.toSystemIndependentName(artifactPath), paths.projectHome)) {
|
||||
messages.warning("Artifact '$artifactPath' is not under '$paths.projectHome', it won't be reported")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user