[ant] Adding exactly one directory to the classpath



Hey,

I have some problem adding exactly one directory to the java classpath
using ant. I tried the following lines but got no only the directory
specified but all subdirectories as well.

<path id="project.class.path">
<fileset dir="${lib.src}" includes="**/*.jar"/>
<dirset dir="${main.dst}" />
<dirset dir="${tests.dst}" />
</path>

How is it possible to add exactly one directory to the classpath?

Thanks for any kinds of help!


Greetings,
Marco.

.