Skip to content

Commit

Permalink
Fix old VDMCheck Java version and flip jar to use VDMCheckPlus
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbattle committed Jan 7, 2024
1 parent 91efafe commit dcea39c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fmi3/vdmcheck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<configuration>
<archive>
<manifestEntries>
<Main-Class>VDMCheck</Main-Class>
<Main-Class>VDMCheckPlus</Main-Class>
<Implementation-Version>${project.version} build ${maven.build.timestamp}
</Implementation-Version>
<Class-Path>.</Class-Path>
Expand Down
2 changes: 1 addition & 1 deletion fmi3/vdmcheck/src/main/java/VDMCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private static boolean run(String filename, XMLFile tempXML, String vdmOUT)
args.add("-q");
args.add("-annotations");
args.add("-e");
args.add("isValidFMIConfiguration(" + varName + ")");
args.add("isValidFMIConfiguration(" + varName + ", nil, nil)");
args.add("model");

if (rules.exists())
Expand Down
1 change: 0 additions & 1 deletion fmi3/vdmcheck/src/main/java/VDMCheckPlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ private static boolean run(File filename, String vdmOUT, String prefix)
args.add("java");
args.add("-Xmx1g");
args.add("-Dvdmj.parser.merge_comments=true");
args.add("-Dvdmj.parser.external_readers=.fmu=fmureader.FMUReader,.xml=fmureader.FMUReader");
args.add("-Dfmureader.noschema=true");
args.add("-Dfmureader.vdmfile=" + vdmOUT);
args.add("-cp");
Expand Down

0 comments on commit dcea39c

Please sign in to comment.