Don't include every file twice

Ant seems to consider the includes twice when specifying both dir on
the file set and basedir on the jar task
Retry downloads on network errors

https://github.com/jruby/jruby/issues/1080