There was already a similar question about the 'pathelements' here . From the documentation provided: "If this is a path structure, as in your example:" A path-like structure may include a link to another structure similar to the path (the path that is the resource collection itself) through nested elements "
<path id="base.path"> <pathelement path="${classpath}"/> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> <pathelement location="classes"/> </path>
If this is a classpath structure: "The path attribute is for use with predefined paths"
<classpath> <pathelement path="${classpath}"/> <pathelement location="lib/helper.jar"/> </classpath>
alsid source share