Skip to content

Commit

Permalink
try to make work with windows
Browse files Browse the repository at this point in the history
output root needs to be url too
  • Loading branch information
pahjbo committed Feb 7, 2024
1 parent cc519bb commit 9c050a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/gradletooling/gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {

implementation("net.sf.saxon:Saxon-HE:10.8") // for xslt 3.0
implementation("name.dmaus.schxslt:java:3.1.1") // for modern schematron
implementation("org.xmlresolver:xmlresolver:4.5.2") // for xml catalogues - note that the apache xml-commons resolver is out of date
implementation("org.xmlresolver:xmlresolver:5.2.3") // for xml catalogues - note that the apache xml-commons resolver is out of date
implementation("org.javastro.vodsl:vodslparser:0.4.6") //standalone vodsl parser
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.2")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import javax.inject.Inject
Vodml2Java.doTransform(
v.absoluteFile, mapOf(
"binding" to allBinding.joinToString(separator = ",") { it.toURI().toURL().toString() },
"output_root" to javaGenDir.get().asFile.absolutePath,
"output_root" to javaGenDir.get().asFile.toURI().toURL().toString(),
"isMain" to (if (index++ == 0) "True" else "False") // first is the Main
),
actualCatalog, outfile.get().asFile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import javax.inject.Inject
Vodml2Python.doTransform(
v.absoluteFile, mapOf(
"binding" to allBinding.joinToString(separator = ",") { it.toURI().toURL().toString() },
"output_root" to pythonGenDir.get().asFile.absolutePath,
"output_root" to pythonGenDir.get().asFile.toURI().toURL().toString(),
"isMain" to (if (index++ == 0) "True" else "False") // first is the Main
),
actualCatalog, outfile.get().asFile
Expand Down

0 comments on commit 9c050a8

Please sign in to comment.