I am trying to update the VASL module to work with VASSAL3.5.0-beta2.
I have changed the POM file in the vasl project to reference VASSAL3.5.0-beta2. When I try to build the VASL module using maven, I get the following error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project vasl: Compilation failure: Compilation failure:
[ERROR] /c:/Users/dougr_000/IdeaProjects/vasl/src/VASL/build/module/map/ASLTilingHandler.java:[53,5] constructor TilingHandler in class VASSAL.launch.TilingHandler cannot be applied to given types;
[ERROR] required: java.lang.String,java.io.File,java.awt.Dimension,int
[ERROR] found: java.lang.String,java.io.File,java.awt.Dimension,int,int
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /c:/Users/dougr_000/IdeaProjects/vasl/src/VASL/build/module/map/ASLTilingHandler.java:[139,24] cannot find symbol
[ERROR] symbol: variable pid
[ERROR] location: class VASL.build.module.map.ASLTilingHandler
VASL appears to be passing 5 params when only 4 are required (VASSAL3.4.6 which we were previously using to build VASL requires 5 params).
I am trying to update the VASL module to work with VASSAL3.5.0-beta2.
I have changed the POM file in the vasl project to reference
VASSAL3.5.0-beta2. When I try to build the VASL module using maven, I
get the following error message:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.3:compile
(default-compile) on project vasl: Compilation failure: Compilation
failure:
[ERROR]
/c:/Users/dougr_000/IdeaProjects/vasl/src/VASL/build/module/map/ASLTilingHandler.java:[53,5]
constructor TilingHandler in class VASSAL.launch.TilingHandler cannot be
applied to given types;
[ERROR] required: java.lang.String,java.io.File,java.awt.Dimension,int
[ERROR] found:
java.lang.String,java.io.File,java.awt.Dimension,int,int
[ERROR] reason: actual and formal argument lists differ in length
[ERROR]
/c:/Users/dougr_000/IdeaProjects/vasl/src/VASL/build/module/map/ASLTilingHandler.java:[139,24]
cannot find symbol
[ERROR] symbol: variable pid
[ERROR] location: class VASL.build.module.map.ASLTilingHandler
VASL appears to be passing 5 params when only 4 are required
(VASSAL3.4.6 which we were previously using to build VASL requires 5
params).
The solution is to omit the final parameter, which is no longer needed.
This is an issue which arose due to a change in 3.5.0-beta2. I was
planning to let you know about this after clearing the remaining issues
before we release 3.5.0-beta3.
I delete this reference to “pid”. there are no others. VASL built successfully. Will have to test to see if there are any runtime errors due to this. Seems unlikely.