Processing of commandline options seems a little buggy
For e.g:
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar Te\ st.html
Error loading LRF file: te st.html message: te st.html (No such file or directory)
java.io.FileNotFoundException: te st.html (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at HtmlParser.readWholeFile(HtmlParser.java:80)
at HtmlParser.<init>(HtmlParser.java:70)
at BBeBook.parseHTML(BBeBook.java:1616)
at BBeBook.makeBookFromHtml(BBeBook.java:654)
at BBeBook.makeBook(BBeBook.java:600)
at BBeBook.main(BBeBook.java:292)
or
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar -t 'test title' test.html
WARNING: Book Label not supplied, setting to 'UNKNOWN'.
Exception in thread "main" java.io.FileNotFoundException: (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at BBeBook.write(BBeBook.java:755)
at BBeBook.makeBookFromHtml(BBeBook.java:658)
at BBeBook.makeBook(BBeBook.java:600)
at BBeBook.main(BBeBook.java:292)
or
Code:
java -jar /home/kovid/download/BBeBook-0.2.jar test.html
Error loading LRF file: image.gif message: image.gif (No such file or directory)
java.io.FileNotFoundException: image.gif (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at BBeBook.readWholeFile(BBeBook.java:1091)
at BBeBook.writeBookToFile(BBeBook.java:965)
at BBeBook.makeBookFromHtml(BBeBook.java:657)
at BBeBook.makeBook(BBeBook.java:600)
at BBeBook.main(BBeBook.java:292)
I believe image.gif is the file that's supposed to have the thumbnail?