Quote:
Originally Posted by KevinH
baf, can you get a dump of the environment variables that are set during the conversion to kfx? The internal Epub conversion jar seems to look for AMZN_ prefixed environment variables in places but so it might help to see what is getting set.
KevinH
|
I don't see any such variables.
Previewer runs following command to convert epub to kdf. Run it from lib/fc directory. Then watch /tmp directory for resulting files. Also notice the files that are created and then deleted.
This applies to OS X, should be similar for windows.
Code:
jre/bin/java -cp lib/EpubToKFXConverter-1.0.jar:lib/* com.amazon.kfxconverter.app.KFXGenApp -libDir . -tmpDir /tmp -outDir /tmp -inputFile sample.epub -locale en -amzncreator "Kindle Previewer 3.0.0"
The command takes following parameters. I don't see any profiling options here though:
Code:
Usage: <main class> [options]
Options:
-amzncreator
tool version (optional)
-compressionType
Compression type
* -inputFile
Input file
* -libDir
Base directory where all the required libraries are present
* -locale
The language for Kindlegen logs
* -outDir
Output directory where mastermobi is stored
-outFileName
Output file name for .mobi, if not given the input filename is taken
* -tmpDir
Temp directory where kdf is stored