Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 94320 invoked from network); 24 Oct 2008 18:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Oct 2008 18:26:11 -0000 Received: (qmail 10312 invoked by uid 500); 24 Oct 2008 18:26:11 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 10269 invoked by uid 500); 24 Oct 2008 18:26:11 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 10258 invoked by uid 99); 24 Oct 2008 18:26:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2008 11:26:11 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.158.96.209] (HELO relay-ev.club-internet.fr) (194.158.96.209) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2008 18:25:00 +0000 Received: from [192.168.1.2] (gre92-3-89-85-219-2.dsl.club-internet.fr [89.85.219.2]) by relay-ev.club-internet.fr (Postfix) with ESMTP id A8D7025609 for ; Fri, 24 Oct 2008 20:24:37 +0200 (CEST) Message-ID: <490212E4.6030206@free.fr> Date: Fri, 24 Oct 2008 20:24:36 +0200 From: supareno User-Agent: Thunderbird 1.5.0.14ubu (X11/20080505) MIME-Version: 1.0 To: Ant Users List Subject: Re: Can I rename a file when jarring it? References: <48FF6F0E.3040006@free.fr> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hendrik Maryns a écrit : > supareno schreef: > >> Hendrik , >> >> check out this: >> http://ant.apache.org/manual/CoreTypes/mapper.html#identity-mapper >> and this: >> http://ant.apache.org/manual/CoreTasks/copy.html >> "[...] >> >> *Copy a set of files to a directory, appending |.bak| to the file name >> on the fly* >> >> >> >> >> >> > > Thanks, indeed this was what I was thinking of, but unfortunately > does not allow a nested element. > so, you could create a build directory where you can copy all the files needed for the jar (class files, properties files, ...) and, after, you can do this: i will do it like that! Do someone else have an alternative? supareno > Should I put in an rfe for this? > > H. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org