Added a run target to build.xml
Added dist to .gitignore
Fixed some generics warnings