I do I get ant jar task to put the dependent jars in the directory ./lib inside the jar? Currently, ant puts those in ./.
<target name="jar" depends="compile" description="generate the distribution">
<jar jarfile="${dist.dir}/projectx-${version}.jar" basedir="${build.dir}" />
</target>
The reason being that Amazon Hadoop EMR with MapR seems to require this.
You can use a nested zipfileset with a prefix to do this.