ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
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 
such.

____________________________________________________________________________________________


Jeffrey E. (Jeff) Care 
carej@us.ibm.com 
IBM WebSphere Application Server Development 
WAS Pyxis Lead Release Engineer 






jmaxwell <jeff.maxwell@gmail.com> 
04/26/2006 12:50 PM
Please respond to
"Ant Users List" <user@ant.apache.org>


To
user@ant.apache.org
cc

Subject
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/**" />
</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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



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