make sure get-jar-filename does the same preprocessing jar does.
Merge pull request #1247 from MichaelBlume/preprocess-for-get-jar-filename

make sure get-jar-filename does the same preprocessing jar does.