I have a path that looks like this
<path id="classpath-ant">
<fileset dir="${lib-ant-dir}">
<include name="**/*.jar" />
</fileset>
<pathelement location="${template-dir}/hibernate" />
<path refid="test-classpath" />
<path refid="ivy-ant-classpath" />
</path>
My test-classpath includes bunch of jars. I want to exclude one jar (hibernate3.5.2.jar) from that path. How can i do this.
I don't want to change the test-classpath and put an exclude there as it is used by other targets. I want to modify classpath-ant such that it does not include one jar from path refid test-classpath