ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <>
Subject Re: Tar Error: fileset doesn't denote a Tar$TarFileSet
Date Wed, 26 Apr 2006 17:28:51 GMT
The error message is spot-on: fileset != tarfileset

If you want to use lib.fileset as a tarfileset you must declare it as 


Jeffrey E. (Jeff) Care 
IBM WebSphere Application Server Development 
WAS Pyxis Lead Release Engineer 

jmaxwell <> 
04/26/2006 12:50 PM
Please respond to
"Ant Users List" <>


Tar Error: fileset doesn't denote a Tar$TarFileSet

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/**" />

<tar destfile="${dist.package.dir}/${dist.lib.package}"
  <tarfileset refid="lib.fileset" />

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?

View this message in context:

Sent from the Ant - Users forum at

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message