ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suu Quan" <sq...@wwc.com>
Subject <tarfileset> problem: help
Date Sat, 07 Jul 2001 22:30:05 GMT
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" />
  </tar>

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 ---
java.io.FileNotFoundException: C:\stp\README (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native 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?

tia

Suu Quan
squan@wwc.com

Mime
View raw message