See this answer https://stackoverflow.com/questions/22950542/pretty-printing-xml-with-jackson-library
22 lines
884 B
PowerShell
22 lines
884 B
PowerShell
cd $PSScriptRoot
|
|
$Env:JAVA_HOME = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1"
|
|
$Env:PATH = "C:\Users\nathanm\Downloads\openjdk-23.0.1_windows-x64_bin\jdk-23.0.1\bin;$($Env:PATH)"
|
|
$Env:PATH_TO_FX="C:\Users\nathanm\Downloads\openjfx-23.0.1_windows-x64_bin-sdk\javafx-sdk-23.0.1\lib"
|
|
$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib"
|
|
$modules = $(
|
|
"com.ctc.wstx",
|
|
"com.fasterxml.jackson.annotation",
|
|
"com.fasterxml.jackson.core",
|
|
"com.fasterxml.jackson.dataformat.xml",
|
|
"com.fasterxml.jackson.datatype.jsr310",
|
|
"com.jcraft.jsch",
|
|
"javafx.controls",
|
|
"javafx.fxml",
|
|
"org.apache.commons.cli",
|
|
"result",
|
|
"wordpress.xmlrpc.client",
|
|
"xmlrpc.common"
|
|
)
|
|
$addModules = $modules -join ","
|
|
java --module-path $modulePath --add-modules $addModules -cp out name.nathanmcrae.numbersstation.Main @args
|