View Single Post
Old 05-11-2013, 01:08 PM   #166
hornpipe2
Member
hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.hornpipe2 has never been to obedience school.
 
Posts: 19
Karma: 44002
Join Date: Jan 2012
Device: Amazon Kindle
Trying to build this for k2i from command line, but I can't seem to figure out how to make the classpath setup right.
Steps:
* pull a .zip from github, here: https://github.com/AwakenHuman/ChineseChessForKindle
* unzip it, step into directory
* ant

Errors begin with:
Code:
-do-compile:
    [javac] Compiling 15 source files to /Users/grkenn/src/ChineseChessForKindle-master/build/classes
    [javac] /Users/grkenn/src/ChineseChessForKindle-master/src/vn/vhn/amazon/kindle/chinesechess/Main.java:8: package com.amazon.kindle.kindlet does not exist
    [javac] import com.amazon.kindle.kindlet.AbstractKindlet;
    [javac]                                 ^
    [javac] /Users/grkenn/src/ChineseChessForKindle-master/src/vn/vhn/amazon/kindle/chinesechess/Main.java:9: package com.amazon.kindle.kindlet does not exist
    [javac] import com.amazon.kindle.kindlet.KindletContext;
    [javac]                                 ^
I tried putting a copy of the Kindle .jar files in *every single folder under the root* and it still failed to find, so I guess it's referring to an external location above the project folder. But I'm a totally clueless monkey when it comes to working with Java + Ant so I have no idea how to change the CLASSPATH to the correct location.
hornpipe2 is offline   Reply With Quote