properly include resources in subdirectories

genjava.ml pull request incoming