The stack traces should be a pretty good indicator of what went wrong, and if it's caused by "user error", it should also contain some hint as to what you did wrong.
Anyway, here's a snippet of the script that is used to build the daily snapshots:
Code:
DATE=`date +%Y%m%d`
BASE=~/kindle-touch
SRC=${BASE}/snapshots/${DATE}
mkdir -p ${SRC}
java -jar ${BASE}/kindle-touch-l10n/tool/kt-l10n.jar dist -f -k ${BASE}/kindletool -s ${BASE}/kindle-touch-l10n/src/5.0.0/ -t ${SRC}/update_5.0.0-${DATE}-LOCALE_TYPE.bin ALL
Only the last line is actually relevant, but since it includes variables, I left in some context.
If this doesn't help, please provide the full stack trace to see what is going wrong.