Closed clementi closed 9 years ago
Ah, looks like a change to PGNUtils hadn't been committed yet - it's committed now (or change the method sig to use String... instead of String[]).
I'll check the repository state properly when I get a chance.
Regards, Barry.
On 28/01/2015 23:12, Jeffrey Pratt wrote:
I assume one uses Maven to build CalculonX? Executing |mvn package| doesn't work. I get these errors:
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building calculon 0.5.11-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ calculon --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ calculon --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 67 source files to C:\Users\jpratt\projects\CalculonX\target\classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ calculon --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\Users\jpratt\projects\CalculonX\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ calculon --- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 31 source files to C:\Users\jpratt\projects\CalculonX\target\test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] C:\Users\jpratt\projects\CalculonX\src\test\java\nl\zoidberg\calculon\engine\BitBoardTest.java:[16,16] error: method applyMoves in class PGNUtils cannot be applied to given types; [ERROR] found: BitBoard,String,String reason: actual and formal argument lists differ in length C:\Users\jpratt\projects\CalculonX\src\test\java\nl\zoidberg\calculon\engine\BitBoardTest.java:[19,16] error: method applyMoves in class PGNUtils cannot be applied to given types; [ERROR] found: BitBoard,String,String reason: actual and formal argument lists differ in length C:\Users\jpratt\projects\CalculonX\src\test\java\nl\zoidberg\calculon\engine\BitBoardTest.java:[22,16] error: method applyMoves in class PGNUtils cannot be applied to given types; [INFO] 3 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.367 s [INFO] Finished at: 2015-01-28T16:11:49-07:00 [INFO] Final Memory: 18M/114M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project calculon: Compilation failure: Compilation failure: [ERROR] C:\Users\jpratt\projects\CalculonX\src\test\java\nl\zoidberg\calculon\engine\BitBoardTest.java:[16,16] error: method applyMoves in class PGNUtils cannot be applied to given types; [ERROR] [ERROR] found: BitBoard,String,String [ERROR] reason: actual and formal argument lists differ in length [ERROR] C:\Users\jpratt\projects\CalculonX\src\test\java\nl\zoidberg\calculon\engine\BitBoardTest.java:[19,16] error: method applyMoves in class PGNUtils cannot be applied to given types; [ERROR] [ERROR] found: BitBoard,String,String [ERROR] reason: actual and formal argument lists differ in length [ERROR] C:\Users\jpratt\projects\CalculonX\src\test\java\nl\zoidberg\calculon\engine\BitBoardTest.java:[22,16] error: method applyMoves in class PGNUtils cannot be applied to given types; [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException — Reply to this email directly or view it on GitHub https://github.com/BarrySW19/CalculonX/issues/1.
Travis build seems to be fine now.
I assume one uses Maven to build CalculonX? Executing
mvn package
doesn't work. I get these errors: