From ant-user-return-12231-apmail-jakarta-ant-user-archive=jakarta.apache.org@jakarta.apache.org Wed Sep 05 18:27:18 2001 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 87956 invoked by uid 500); 5 Sep 2001 18:27:18 -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 87947 invoked from network); 5 Sep 2001 18:27:18 -0000 Message-ID: <3B966E7E.AE2B9A62@snaptwo.com> Date: Wed, 05 Sep 2001 13:27:10 -0500 From: Aaron Kamienski Organization: SNAP2 Corporation X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,ja MIME-Version: 1.0 To: Ant Mailing List Subject: Renaming a file while jarring... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Sep 2001 18:27:13.0927 (UTC) FILETIME=[625AC970:01C13638] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, Is it possible to effectively rename/move a file while jarring it (w/out an explicit copy/move)? For example, I have a file w/x/y.z and I want it to end up in a jar as a/b/y.z (or, even more generic, a/b/c.d). I can copy w/x/y.z to a/b before performing the jar task (and perhaps delete when done), but I was wondering if there was a more elegant way. A way that doesn't result in unnecessary re-jarring. thanks, ajk -- Aaron Kamienski SNAP2 Corporation