From: Julian R. <jro...@gm...> - 2021-07-19 03:28:42
|
Hei Anthony, I have now built ZWordTools cztinterface.jar using Maven 3.8.1 and JDK11, and successfully tested it. I built ...\zwordtools-code\cztinterface with 'mvn -X -l logfile -Dmaven.test.skip=true clean install', as the tests fail to build for me. (For example, some of your "expect" (zee) files have paths hard-coded like /Users/Anthony/... and this is not going to work for me. The cztinterface tests might be generalised.) I made small changes to...\zwordtools-code\cztinterface\pom.xml and ...\zwordtools-code\cztinterface\src\main\java\net\sourceforge\zwordtools\cztinterface\CZTCheck.java, commented with jhr, as attached. The resulting ...\zwordtools-code\Code\cztinterface.jar size is 2,800KB, compared to your download jar file size of 1,453KB. This larger size is attributable to the inclusion of com/sun and javax packages in the new jar. (These packages are inherited through dependencies and inclusion of typechecker-z by Maven from ...\.m2\repository\net\sourceforge\czt\typechecker-z resulting from my JDK11 czt build). Finally, I replaced cztinterface.jar in C:\Users\Julian\AppData\Roaming\Microsoft\Word\STARTUP\ZWTools\ and successfully used ZWT on my test input. (I did another test, replacing PredChecker.class in your download cztinterface.jar which also tested successfully.) With thanks, julian |