morficus/ant-build-script — comment on commit 499330427e226d33c6bdc13113e7b3160c0ef0b6
File: build.xml line 554
By roblarsen:

Wouldn;t this just be:

<copy todir="${dir.publish}/${dir.js.modules}/" >

You already built the string in the property name line above.