The ant task does use the classpath to find your jars. In this case, it's trying ot load NoNewEntryMap.class in order to find the jsfunit core jar.
You can look here at the autoAddLibs() method:
This in turn calls ResourceUtils.getResourceLocation():
Beyond that, I'm not sure what to tell you. If the jar is in your classpath it should find it.