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:
Peter Osterlund
2016-11-07 22:56:27 +01:00
parent 4dc3b84115
commit e0f8aef6d6
5 changed files with 40 additions and 12 deletions

View File

@@ -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++)