I've defined a classpath and assigned it the id "classpath.path" ; it's a path that I want to use throughout my buildfile with very minor modifications. What I want to do is exclude a particular jar file that would otherwise be included because of the wildcards in the original definition. What I have (that's not working) is the following:
<path id="classpath.path"> <pathelement path="${basedir}"/> <pathelement path="${classesDir}"/> <fileset dir="${distDir}"> <include name="**/*.jar"/> <include name="**/*.zip"/> </fileset> <fileset dir="${libDir}"> <include name="**/*.jar"/> <include name="**/*.zip"/> </fileset> <fileset dir="${productionLibDir}"> <include name="**/*.jar"/> <include name="**/*.zip"/> </fileset> </path> <path id="classpath.data.path"> <fileset dir="${distDir}" > <exclude name="${data_jarName}" /> </fileset> <fileset dir="${productionLibDir}" > <exclude name="${data_jarName}" /> </fileset> <path refid="classpath.path"/> </path> Is there some way to do this? Thanks much ******************************************** Nolan S. Ring Release Engineer Sun Microsystems -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>