Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 76949 invoked by uid 500); 7 Sep 2001 20:03:30 -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 76940 invoked from network); 7 Sep 2001 20:03:30 -0000 Message-ID: <033e01c137d8$5e176660$5614000a@GILAMONSTER> From: "Erik Hatcher" To: References: <20010907195514.33164.qmail@web13403.mail.yahoo.com> Subject: Re: Copy and Replace Date: Fri, 7 Sep 2001 13:04:56 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sorry for the duplication... I guess Diane and I are playing dueling helpers today! She won this one, and I think I beat her to the zero-file length answer! :) Erik ----- Original Message ----- From: "Diane Holt" To: Sent: Friday, September 07, 2001 12:55 PM Subject: Re: Copy and Replace > is used to change a file in-place; use + with > filtering="on" to modify a file during a copy. > > Diane > > --- Christian Cryder wrote: > > I need to copy files into a new directory, and I'd like to perform a > > replace > > on various string values they might contain in the process. > > > > Since the Replace task is a fileset, I'm pretty sure I can pass that as > > an > > argument to the copy task. However, will the copy occur without actually > > changing the original files? Or does the replace happen on the original > > files prior to the copy occuring? > > > > To accomplish what I'm after, do I need to do it in two steps: copy, > > then > > replace? > > > > Thanks, > > Christian > > ------------------------------------------------ > > Christian Cryder [christianc@enhydra.org] > > Barracuda - MVC Component Framework for Webapps > > http://barracuda.enhydra.org > > ------------------------------------------------ > > "What a great time to be a Geek" > > > > > ===== > (holtdl@yahoo.com) > > > > __________________________________________________ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger > http://im.yahoo.com