mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jps2bazel: better error diagnostics
GitOrigin-RevId: 433ee6ec31869dfb78963464e88605b9107f313f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cfe4bc15d7
commit
ee1a22a61f
@@ -252,11 +252,11 @@ internal fun generateDeps(
|
||||
|
||||
private fun getFileMavenFileDescription(lib: JpsTypedLibrary<JpsSimpleElement<JpsMavenRepositoryLibraryDescriptor>>, jar: Path): MavenFileDescription {
|
||||
require(jar.isAbsolute) {
|
||||
"jar path must be absolute: $jar"
|
||||
"jar path for jps library ${lib.name} must be absolute: $jar"
|
||||
}
|
||||
|
||||
require(jar == jar.normalize()) {
|
||||
"jar path must not contain redundant . and .. segments: $jar"
|
||||
"jar path for jps library ${lib.name} must not contain redundant . and .. segments: $jar"
|
||||
}
|
||||
|
||||
val libraryDescriptor = lib.properties.data
|
||||
|
||||
Reference in New Issue
Block a user