Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 86749 invoked by uid 500); 8 Jul 2001 00:08:31 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 86740 invoked from network); 8 Jul 2001 00:08:31 -0000 Message-ID: <4E7888D4F219E145B6F81E5D3049E3BF1B1112@scmail01.arsin.com> From: Peter Vogel To: "'ant-user@jakarta.apache.org'" Subject: RE: problem: help Date: Sat, 7 Jul 2001 17:08:34 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C10742.20D28CB0" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C10742.20D28CB0 Content-Type: text/plain; charset="iso-8859-1" s/but/bug -Peter -----Original Message----- From: Peter Vogel [mailto:pvogel@arsin.com] Sent: Saturday, July 07, 2001 5:07 PM To: 'ant-user@jakarta.apache.org' Subject: RE: problem: help I suspect you are running into the but that I sent a patch for a while back, it is fixed in the CVS version of ant. -Peter -----Original Message----- From: Suu Quan [mailto:squan@wwc.com] Sent: Saturday, July 07, 2001 3:30 PM To: ANT user group Subject: problem: help Copying almost exactly as the manual 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 element, I never get an error. What's missing? tia Suu Quan squan@wwc.com ------_=_NextPart_001_01C10742.20D28CB0 Content-Type: text/html; charset="iso-8859-1"
s/but/bug
 
-Peter
-----Original Message-----
From: Peter Vogel [mailto:pvogel@arsin.com]
Sent: Saturday, July 07, 2001 5:07 PM
To: 'ant-user@jakarta.apache.org'
Subject: RE: <tarfileset> problem: help

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.
 
-Peter
-----Original Message-----
From: Suu Quan [mailto:squan@wwc.com]
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" />
  </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
 
------_=_NextPart_001_01C10742.20D28CB0--