ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Vogel <>
Subject RE: <tarfileset> problem: help
Date Sun, 08 Jul 2001 00:07:27 GMT
I suspect you are running into the <tarfileset> but that I sent a patch for
a while back, it
is fixed in the CVS version of ant.

-----Original Message-----
From: Suu Quan []
Sent: Saturday, July 07, 2001 3:30 PM
To: ANT user group
Subject: <tarfileset> problem: help

Copying almost exactly as the manual
<property name="rootdir" value="c:/stp" />
<property name="disttar" value="${rootdir}/stpdist.tar" />
<target name="tar">
  <tar tarfile="${disttar}" basedir="${rootdir}"
        includes="etc/**, lib/**" >
        <tarfileset dir="${rootdir}/sbin" mode="555" />
Running that target I got the following error
tar.xml:9: Problem creating TAR: C:\stp\README (The system cannot find the
file specified)
--- Nested Exception --- C:\stp\README (The system cannot find the
file specified)
        at Method)
Theere is no \stp\README, but there is one in .../sbin/README.
If I don't use the <tarfileset> element, I never get an error.
What's missing?
Suu Quan <> 

View raw message