You have to have maven and git. Simply clone:
git clone https://github.com/neojski/bullshit-paper
Then you can use just maven stuff to install dependencies:
mvn package
It also runs tests. In case you're changing something tests can be fired with
mvn test
. (use -Dtest=bullshit_paper.NameOfTest
to run single test)
To make JavaFX work you need to have the latest version of Java and add jfxrt.jar to the local maven repository:
mvn install:install-file -Dfile="C:\Program Files\Java\jre7\lib\jfxrt.jar" -DgroupId=com.oracle -DartifactId=javafx -Dversion=2.2.45 -Dpackaging=jar
To use the Dict
class you have to download the dictionary from
sjp and then convert it to utf8:
iconv -f WINDOWS-1250 -t utf-8 odm.txt > odm
It is necessary to have this file in unix endlines format. You can get help on this here
Once you're done just throw it into the resources directory for dictionary (/bullshit-paper/src/main/resources/dict
)