mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-12 09:02:41 +01:00
DroidFish, CuckooChessEngine: Use java ant task.
Use java ant task to create book.bin and eco.dat so that /usr/bin/java does not have to be hardcoded.
This commit is contained in:
@@ -189,7 +189,7 @@ public class Book {
|
||||
/** Creates the book.bin file. */
|
||||
public static void main(String[] args) throws IOException {
|
||||
List<Byte> binBook = createBinBook();
|
||||
FileOutputStream out = new FileOutputStream("../src/book.bin");
|
||||
FileOutputStream out = new FileOutputStream("src/book.bin");
|
||||
int bookLen = binBook.size();
|
||||
byte[] binBookA = new byte[bookLen];
|
||||
for (int i = 0; i < bookLen; i++)
|
||||
|
||||
Reference in New Issue
Block a user