Skip to content

Commit

Permalink
validation tool lib reference fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
landrix committed Dec 26, 2020
1 parent 3604376 commit fc37f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intf.XRechnungValidationHelperJava.pas
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function TXRechnungValidationHelperJava.Validate(const _InvoiceXMLData: String;
exit;
if not FileExists(JavaRuntimeEnvironmentPath+'bin\java.exe') then
exit;
if not FileExists(ValidatorLibPath+'validationtool-1.4.0-java8-standalone.jar') then
if not FileExists(ValidatorLibPath+'validationtool-1.4.1-java8-standalone.jar') then
exit;
if not FileExists(ValidatorConfigurationPath+'scenarios.xml') then
exit;
Expand All @@ -183,7 +183,7 @@ function TXRechnungValidationHelperJava.Validate(const _InvoiceXMLData: String;

cmd.Add('pushd '+ExtractFilePath(tmpFilename));
cmd.Add(JavaRuntimeEnvironmentPath+'bin\java -jar '+
ValidatorLibPath+'validationtool-1.4.0-java8-standalone.jar -s '+
ValidatorLibPath+'validationtool-1.4.1-java8-standalone.jar -s '+
ValidatorConfigurationPath+'scenarios.xml -h '+
tmpFilename);
cmd.SaveToFile(tmpFilename+'.bat',TEncoding.ANSI);
Expand Down

0 comments on commit fc37f21

Please sign in to comment.