I am trying to use a fileset reference with the tar task <fileset id="lib.fileset" dir="${build.dir}"> <include name="include/**" /> <include name="lib/**" /> </fileset>
<tar destfile="${dist.package.dir}/${dist.lib.package}" compression="gzip"> <tarfileset refid="lib.fileset" /> </tar> When run I receive the following error: lib.fileset doesn't denote a Tar$TarFileSet Details: Ant 1.6.5 JVM: 1.4.2_10 Platform: SPARC OS: Solaris 10 Any Ideas? Cheers Jeff -- View this message in context: http://www.nabble.com/Tar-Error%3A-fileset-doesn%27t-denote-a-Tar%24TarFileSet-t1512931.html#a4105182 Sent from the Ant - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]